Skip to content

Commit 7f0074d

Browse files
Prevent double packing for artifacts
1 parent c4f48df commit 7f0074d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,19 @@ jobs:
6464
"$GOTOOLDIR/dist" banner
6565
cd ..
6666
67-
- name: create ZIP archive
68-
if: github.event_name == 'release'
69-
shell: bash
70-
run: |
71-
zip -9vr ./go-for-win7-${{ env.ASSET_NAME }}.zip . -x "./.git/" "./.github/"
72-
7367
- name: Upload package to Artifacts
7468
uses: actions/upload-artifact@v4
7569
with:
7670
name: go-for-win7-${{ env.ASSET_NAME }}
7771
path: |
7872
./*
7973
74+
- name: create ZIP archive
75+
if: github.event_name == 'release'
76+
shell: bash
77+
run: |
78+
zip -9vr ./go-for-win7-${{ env.ASSET_NAME }}.zip . -x "./.git/" "./.github/"
79+
8080
- name: Compute hashes for file
8181
if: github.event_name == 'release'
8282
run: |

0 commit comments

Comments
 (0)