From 895ba0e3400fcdd31a84366804d84606ad265d54 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Fri, 20 Dec 2024 14:12:43 +1100 Subject: [PATCH] chore(release): upload the artifacts in each step --- .github/workflows/release.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25074dd5..85863e80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,6 @@ on: schedule: - cron: 0 0 * * 4 # Midnight Wednesday -concurrency: - group: release-${{ github.ref }} - cancel-in-progress: true - jobs: build-release: name: build-release (${{ matrix.targets }}) @@ -114,31 +110,6 @@ jobs: ${{ steps.cargo-flags.outputs.flags }} working-directory: rust/pact_ffi - - name: Upload the artifacts - if: | - startsWith(github.ref, 'refs/tags/libpact_ffi') || - startsWith(github.ref, 'refs/tags/pact_verifier_cli') - uses: actions/upload-artifact@v4 - with: - name: release-artifacts-${{ matrix.targets }} - path: rust/release_artifacts - if-no-files-found: warn - - publish: - runs-on: ubuntu-latest - if: | - startsWith(github.ref, 'refs/tags/libpact_ffi') || - startsWith(github.ref, 'refs/tags/pact_verifier_cli') - needs: build-release - - steps: - - name: Download artifacts - uses: actions/download-artifact@v4 - with: - pattern: release-artifacts-* - path: rust/release_artifacts - merge-multiple: true - - name: Upload Release Assets uses: svenstaro/upload-release-action@v2 with: