Commit 5fd3a51 1 parent f7361f0 commit 5fd3a51 Copy full SHA for 5fd3a51
File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 9
9
types : [ published ]
10
10
11
11
env :
12
- artifacts : >
12
+ artifacts : |
13
13
me7sum.exe
14
14
ME7Check.exe
15
15
README.md
36
36
- name : Upload windows artifact to release
37
37
if : github.event_name == 'release' && github.event.action == 'published'
38
38
run : |
39
- 7z a -tzip me7sum-${{ github.ref_name }}-win.zip ${{ env.artifacts }}
39
+ setlocal enabledelayedexpansion
40
+ set "ARTIFACTS="
41
+ for /f "tokens=* delims=" %%a in ("${{ env.artifacts }}") do (
42
+ set "ARTIFACTS=!ARTIFACTS! %%a"
43
+ )
44
+ echo !ARTIFACTS!
45
+ 7z a -tzip me7sum-${{ github.ref_name }}-win.zip "${{ ARTIFACTS }}"
40
46
gh release upload --clobber ${{ github.ref_name }} me7sum-${{ github.ref_name }}-win.zip
41
47
env :
42
48
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments