Skip to content

Commit

Permalink
chore(release): upload the artifacts in each step
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Dec 20, 2024
1 parent 869fda1 commit 895ba0e
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }})
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 895ba0e

Please sign in to comment.