Commit 697eee1 1 parent f7361f0 commit 697eee1 Copy full SHA for 697eee1
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-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
+ $ARTIFACTS = "${{ env.artifacts }}" -split '[\r\n]+'
42
+ echo 7z a -tzip me7sum-${{ github.ref_name }}-win.zip $ARTIFACTS
43
+ 7z a -tzip me7sum-${{ github.ref_name }}-win.zip $ARTIFACTS
40
44
gh release upload --clobber ${{ github.ref_name }} me7sum-${{ github.ref_name }}-win.zip
41
45
env :
42
46
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments