From 7a5cbfe26e89ec505a6d648ed6483642c6c25285 Mon Sep 17 00:00:00 2001 From: Nathan Mc Grath Date: Wed, 18 Dec 2024 14:12:34 +0100 Subject: [PATCH] ci: fix installation order in release pipeline (#410) --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5ac756..70e19ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,17 @@ jobs: - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.3 - - name: Setup Commitizen - run: pip install commitizen==2.42.1 + # Triggers installation of the Rust toolchain + # Must be done before wasm-pack is installed + - name: Cargo metadata + run: cargo metadata --format-version 1 - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + - name: Setup Commitizen + run: pip install commitizen==2.42.1 + - name: Generate canister declarations run: dfx generate