Commit 3d9c244 1 parent f7361f0 commit 3d9c244 Copy full SHA for 3d9c244
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-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
35
35
path : ${{ env.artifacts }}
36
36
- name : Upload windows artifact to release
37
37
if : github.event_name == 'release' && github.event.action == 'published'
38
+ shell : pwsh
38
39
run : |
39
- 7z a -tzip me7sum-${{ github.ref_name }}-win.zip ${{ env.artifacts }}
40
+ # convert newline separated string to array
41
+ echo $env:artifacts
42
+ $env:artifacts > artifacts.txt
43
+ 7z a -tzip me7sum-${{ github.ref_name }}-win.zip ${env:artifacts}
44
+ cmd --% /c 7z a -tzip me7sum-${{ github.ref_name }}-win.zip @artifacts.txt
40
45
gh release upload --clobber ${{ github.ref_name }} me7sum-${{ github.ref_name }}-win.zip
41
46
env :
42
47
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments