From 3ed857bc2e59b47c870366eaacf592895bb8d0ff Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Mon, 4 Sep 2023 09:09:12 -0500 Subject: [PATCH] Use locked CLI in gh-pages CI --- .github/workflows/gh-pages.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 09e8452d4..0f09f2146 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -20,11 +20,14 @@ jobs: override: true target: wasm32-unknown-unknown - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/install@v0.1 - with: - crate: dioxus-cli - version: latest - use-tool-cache: true + # TOOD: enable cache once stable CLI is working + # - uses: actions-rs/install@v0.1 + # 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