-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (41 loc) · 1.33 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Release x64
on:
push:
tags:
- v[0-9]+.*
jobs:
call-build-electron:
uses: ./.github/workflows/build-electron.yml
secrets: inherit
# upload the artifacts
upload-assets:
needs: call-build-electron
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Download previously uploaded artifacts
- uses: actions/download-artifact@v3
with:
name: all-happ-artifact
path: artifacts
# Display artifacts folder
- name: Display artifacts folder
run: ls
working-directory: artifacts
# upload all artifacts
- name: upload binary (ubuntu only)
if: ${{ runner.os == 'Linux' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: artifacts
run: |
rm -f *.blockmap
echo ludotheque
gh release upload "${GITHUB_REF#refs/tags/}" ludotheque* --clobber
echo where*
gh release upload "${GITHUB_REF#refs/tags/}" where* --clobber
echo Where*
gh release upload "${GITHUB_REF#refs/tags/}" Where* --clobber
echo profiles*
gh release upload "${GITHUB_REF#refs/tags/}" profiles_zome.wasm --clobber
gh release upload "${GITHUB_REF#refs/tags/}" profiles_integrity_zome.wasm --clobber