Skip to content

Commit 440a45e

Browse files
authored
ci: fix release pipeline cargo installation order (#409)
1 parent 19bf9e9 commit 440a45e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/create-release-pr.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,17 @@ jobs:
2020

2121
- uses: ./.github/actions/setup-dfx
2222

23-
- name: Install wasm-pack
24-
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
25-
2623
- name: Run sccache-cache
2724
uses: mozilla-actions/[email protected]
2825

26+
# Triggers installation of the Rust toolchain
27+
# Must be done before wasm-pack is installed
28+
- name: Cargo metadata
29+
run: cargo metadata --format-version 1
30+
31+
- name: Install wasm-pack
32+
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
33+
2934
- name: Bump Version
3035
id: cz
3136
uses: commitizen-tools/commitizen-action@master

0 commit comments

Comments
 (0)