Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
melody-rs committed Feb 13, 2024
1 parent df9ff09 commit 370e18a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ jobs:
targets: wasm32-unknown-unknown
components: rust-src

- name: Download and install Trunk
run: cargo install trunk --locked
# Cargo will error if we try to install the same binary multiple times, so we bypass cargo
# (No idea why, it doesn't happen in my testing)
- name: Download and install Trunk binary
run: wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.18.7/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- -C ~/.cargo/bin

- name: Build luminol (Release)
run: cd build-luminol && ./build_luminol.sh
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ jobs:
toolchain: nightly-2023-11-14
targets: wasm32-unknown-unknown
components: rust-src

- name: Download and install Trunk
run: cargo install trunk --locked

# Cargo will error if we try to install the same binary multiple times, so we bypass cargo
# (No idea why, it doesn't happen in my testing)
- name: Download and install Trunk binary
run: wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.18.7/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- -C ~/.cargo/bin

- name: Build luminol (Release)
run: cd build-luminol && ./build_luminol.sh
Expand Down

0 comments on commit 370e18a

Please sign in to comment.