Skip to content

Commit

Permalink
Add needs
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Nov 19, 2024
1 parent 90b425e commit 5b8731a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ jobs:
- name: Get the rosetta version
run: |
CARGO_VERSION=$(yq .package.version "Cargo.toml")
if [ ! "1.2.0" = "$CARGO_VERSION" ] ; then
echo "::error::$CARGO_VERSION does not match ${{ github.ref_name }}."
exit 1
fi
fi
echo "OUTFILE_SHORT=${{ env.OUTFOLDER }}/windows/concordium-rosetta-$CARGO_VERSION" >> $GITHUB_ENV
release-rosetta-macos:
needs: rosetta-version
runs-on: macos-latest
environment: release
steps:
Expand Down Expand Up @@ -76,6 +82,7 @@ jobs:

release-rosetta-windows:
runs-on: windows-latest
needs: rosetta-version
environment: release
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 5b8731a

Please sign in to comment.