From ac3ee1d48e97e4928c2a0aa8787e2cbbc1b643c9 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 30 Jun 2024 16:41:15 +0200 Subject: [PATCH] Fix deploy --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3bbc807..f77a579 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: push: tags: - 'v*.*.*' + - 'pre-*.*.*' jobs: @@ -79,7 +80,7 @@ jobs: --features=vendored-openssl \ --profile release-strip - - name: Create zip + - name: Create tar run: | cd target/${{ matrix.target }}/release-strip tar -czvf $GITHUB_WORKSPACE/cargo-c-${{ matrix.target }}.tar.gz \ @@ -91,7 +92,7 @@ jobs: - name: Upload binaries uses: actions/upload-artifact@v4 with: - name: cargo-c-linux-binaries + name: cargo-c-linux-binaries-${{ matrix.target }} path: cargo-c-${{ matrix.target }}.tar.gz macos-binaries: @@ -151,7 +152,7 @@ jobs: with: files: | Cargo.lock - cargo-c-linux-binaries/*.tar.gz + cargo-c-linux-binariesi*/*.tar.gz cargo-c-macos-binaries/cargo-c-macos.zip cargo-c-windows-msvc-binaries/cargo-c-windows-msvc.zip cargo-c-windows-gnu-binaries/cargo-c-windows-gnu.zip