Skip to content

Commit 7a5cbfe

Browse files
authored
ci: fix installation order in release pipeline (#410)
1 parent 440a45e commit 7a5cbfe

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ jobs:
2626
- name: Run sccache-cache
2727
uses: mozilla-actions/[email protected]
2828

29-
- name: Setup Commitizen
30-
run: pip install commitizen==2.42.1
29+
# Triggers installation of the Rust toolchain
30+
# Must be done before wasm-pack is installed
31+
- name: Cargo metadata
32+
run: cargo metadata --format-version 1
3133

3234
- name: Install wasm-pack
3335
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3436

37+
- name: Setup Commitizen
38+
run: pip install commitizen==2.42.1
39+
3540
- name: Generate canister declarations
3641
run: dfx generate
3742

0 commit comments

Comments
 (0)