From 4509e40fc5fa629861ca22be2fc7427040af8f35 Mon Sep 17 00:00:00 2001 From: ityuany <519495771@qq.com> Date: Thu, 18 Apr 2024 14:47:55 +0800 Subject: [PATCH] fix ci --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 397faa46..bf4dd81b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: 7z a ${{ matrix.archive-name }} archive/* else cp target/${{ matrix.target }}/release/{node,npm,npx,pnpm,pnpx,yarn,snm} archive/ - tar -czf snm-macos-arm.tar.gz -C archive . + tar -czf ${{ matrix.archive-name }} -C archive . fi - name: Upload archive uses: actions/upload-artifact@v4 @@ -73,6 +73,7 @@ jobs: name: ${{ matrix.archive-name }} path: ${{ matrix.archive-name }} if-no-files-found: error + overwrite: true # - name: Upload to Release # uses: softprops/action-gh-release@v1 # with: