From 7f0074d5acd015ffc84da9feea69def709685c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=90=B2=93=F0=90=B3=9B=F0=90=B3=AA=F0=90=B3=82?= =?UTF-8?q?=F0=90=B3=90=20=F0=90=B2=80=F0=90=B3=A2=F0=90=B3=A6=F0=90=B3=AB?= =?UTF-8?q?=F0=90=B3=A2=20=F0=90=B2=A5=F0=90=B3=94=F0=90=B3=9B=F0=90=B3=AA?= =?UTF-8?q?=F0=90=B3=8C=F0=90=B3=91=F0=90=B3=96=F0=90=B3=87?= <26771058+KobeArthurScofield@users.noreply.github.com> Date: Wed, 1 Jan 2025 01:06:50 +0800 Subject: [PATCH] Prevent double packing for artifacts --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e05e9bceed7c16..226ce03c15511f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,12 +64,6 @@ 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: @@ -77,6 +71,12 @@ jobs: 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: |