Skip to content

Commit 6f59350

Browse files
authored
Merge pull request sakura-editor#1285 from m-tmatma/feature/separate-artifacts-github-actions
GitHub Actions の成果物を別々の ZIP として upload する
2 parents fcc5255 + a4683a6 commit 6f59350

File tree

1 file changed

+39
-3
lines changed

1 file changed

+39
-3
lines changed

.github/workflows/build-sakura.yml

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,44 @@ jobs:
7575
shell: cmd
7676

7777
## see https://github.com/actions/upload-artifact
78-
- name: Upload
78+
- name: Upload Installer
7979
uses: actions/upload-artifact@v2
8080
with:
81-
name: exe ${{ matrix.platform }} ${{ matrix.config }}
82-
path: '*.zip'
81+
name: Installer ${{ matrix.platform }} ${{ matrix.config }}
82+
path: 'sakura-*-Installer.zip'
83+
84+
- name: Upload Installer MD5
85+
uses: actions/upload-artifact@v2
86+
with:
87+
name: Installer MD5 ${{ matrix.platform }} ${{ matrix.config }}
88+
path: 'sakura-*-Installer.zip.md5'
89+
90+
- name: Upload Exe
91+
uses: actions/upload-artifact@v2
92+
with:
93+
name: Exe ${{ matrix.platform }} ${{ matrix.config }}
94+
path: 'sakura-*-Exe.zip'
95+
96+
- name: Upload Exe MD5
97+
uses: actions/upload-artifact@v2
98+
with:
99+
name: Exe MD5 ${{ matrix.platform }} ${{ matrix.config }}
100+
path: 'sakura-*-Exe.zip.md5'
101+
102+
- name: Upload Log
103+
uses: actions/upload-artifact@v2
104+
with:
105+
name: Log ${{ matrix.platform }} ${{ matrix.config }}
106+
path: 'sakura-*-Log.zip'
107+
108+
- name: Upload Asm
109+
uses: actions/upload-artifact@v2
110+
with:
111+
name: Asm ${{ matrix.platform }} ${{ matrix.config }}
112+
path: 'sakura-*-Asm.zip'
113+
114+
- name: Upload Dev
115+
uses: actions/upload-artifact@v2
116+
with:
117+
name: Dev ${{ matrix.platform }} ${{ matrix.config }}
118+
path: 'sakura-*-Dev.zip'

0 commit comments

Comments
 (0)