-
Notifications
You must be signed in to change notification settings - Fork 3
65 lines (49 loc) · 1.78 KB
/
deploy.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Deploy SGNUS
on:
workflow_run:
workflows: ["Release Build CI"]
types:
- completed
env:
GH_TOKEN: ${{ secrets.GNUS_TOKEN_1 }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Download Linux Build Artifacts
uses: actions/download-artifact@v3
with:
name: linux-build
path: ${{github.workspace}}/linux-build
- name: Download Windows Build Artifacts
uses: actions/download-artifact@v3
with:
name: windows-build
path: ${{github.workspace}}/windows-build
- name: Download Android Build Artifacts
uses: actions/download-artifact@v3
with:
name: android-build
path: ${{github.workspace}}/android-build
- name: Download OSX Build Artifacts
uses: actions/download-artifact@v3
with:
name: osx-build
path: ${{github.workspace}}/osx-build
- name: Download iOS Build Artifacts
uses: actions/download-artifact@v3
with:
name: ios-build
path: ${{github.workspace}}/ios-build
- name: Compress Windows Build Artifacts
run: tar -czvf windows-build.tar.gz -C ${{github.workspace}}/windows-build .
- name: Compress Linux Build Artifacts
run: tar -czvf linux-build.tar.gz -C ${{github.workspace}}/linux-build .
- name: Compress Android Build Artifacts
run: tar -czvf android-build.tar.gz -C ${{github.workspace}}/android-build .
- name: Compress MacOS Build Artifacts
run: tar -czvf osx-build.tar.gz -C ${{github.workspace}}/osx-build .
- name: Compress iOS Build Artifacts
run: tar -czvf ios-build.tar.gz -C ${{github.workspace}}/ios-build .
# - name: Deploy the compressed artifacts
# run: |