Skip to content

Commit f0a55a6

Browse files
authored
fix/release: use ubuntu-dependencies action (#27)
The minimal template release workflow env needs clang installed, so we update it to use the ubuntu-dependencies action that install that. Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
1 parent 6a149a8 commit f0a55a6

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,8 @@ jobs:
4444
runs-on: ubuntu-latest
4545
steps:
4646
- uses: actions/checkout@v4
47-
48-
- name: Rust compilation prerequisites
49-
run: |
50-
sudo apt update
51-
sudo apt install -y \
52-
protobuf-compiler
53-
rustup target add wasm32-unknown-unknown
54-
rustup component add rust-src
55-
47+
- uses: ./.github/actions/ubuntu-dependencies
48+
5649
- name: Build the template
5750
run: cargo build --locked --release --all-features --all-targets
5851
timeout-minutes: 90

0 commit comments

Comments
 (0)