Skip to content

Commit

Permalink
Use locked CLI in gh-pages CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmloff committed Sep 4, 2023
1 parent 45e03fe commit 3ed857b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ jobs:
override: true
target: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/[email protected]
with:
crate: dioxus-cli
version: latest
use-tool-cache: true
# TOOD: enable cache once stable CLI is working
# - uses: actions-rs/[email protected]
# with:
# crate: dioxus-cli
# version: latest
# use-tool-cache: true
- name: Install CLI
run: cargo install dioxus-cli --locked
- uses: actions/checkout@v2
- name: Build
run: dx build --release --features web && cargo run --release --features prebuild && cp docs/index.html docs/404.html
Expand Down

0 comments on commit 3ed857b

Please sign in to comment.