Skip to content

Commit

Permalink
Prevent double packing for artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
KobeArthurScofield authored Dec 31, 2024
1 parent c4f48df commit 7f0074d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@ jobs:
"$GOTOOLDIR/dist" banner
cd ..
- name: create ZIP archive
if: github.event_name == 'release'
shell: bash
run: |
zip -9vr ./go-for-win7-${{ env.ASSET_NAME }}.zip . -x "./.git/" "./.github/"
- name: Upload package to Artifacts
uses: actions/upload-artifact@v4
with:
name: go-for-win7-${{ env.ASSET_NAME }}
path: |
./*
- name: create ZIP archive
if: github.event_name == 'release'
shell: bash
run: |
zip -9vr ./go-for-win7-${{ env.ASSET_NAME }}.zip . -x "./.git/" "./.github/"
- name: Compute hashes for file
if: github.event_name == 'release'
run: |
Expand Down

0 comments on commit 7f0074d

Please sign in to comment.