Skip to content

Commit c40a0a2

Browse files
committed
Fix deploy.yml
1 parent 78de5a3 commit c40a0a2

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/deploy.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,22 @@ jobs:
1717
targets: wasm32-unknown-unknown
1818

1919
- name: install trunk
20-
run: wget -qO- https://github.com/trunk-rs/trunk/releases/latest/download/trunk-aarch64-unknown-linux-gnu.tar.gz | tar -xzf-
20+
run: >
21+
wget -qO- https://github.com/trunk-rs/trunk/releases/latest/download/trunk-aarch64-unknown-linux-gnu.tar.gz | tar -xzf-
22+
&& sudo mv trunk trunk /usr/bin/
23+
24+
- run: cargo generate-lockfile
25+
26+
- uses: actions/cache@v3
27+
with:
28+
path: |
29+
~/.cargo/bin/
30+
~/.cargo/registry/index/
31+
~/.cargo/registry/cache/
32+
~/.cargo/git/db/
33+
target/
34+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
35+
2136

2237
- run: trunk build --release
2338

0 commit comments

Comments
 (0)