Skip to content

Commit

Permalink
ci: use custom rust toolchain in release process
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Dec 5, 2024
1 parent 23e8777 commit 580bbbe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,24 @@ on:

jobs:

rust-toolchain:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.rust-toolchain.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Extract rust toolchain version
id: rust-toolchain
run: echo "version=$(cat rust-toolchain)" >> "${GITHUB_OUTPUT}"

release:
needs: rust-toolchain
uses: matter-labs/zksync-ci-common/.github/workflows/release-plz.yaml@v1
secrets:
gh_token: ${{ secrets.RELEASE_TOKEN }}
cargo_registry_token: ${{ secrets.CRATES_IO_TOKEN }}
slack_webhook: ${{ secrets.SLACK_WEBHOOK_RELEASES }}
with:
rust-toolchain: ${{ needs.rust-toolchain-version.outputs.version }}

0 comments on commit 580bbbe

Please sign in to comment.