diff --git a/.github/workflows/tauri-build.yml b/.github/workflows/tauri-build.yml index 8e10aa8..8467cfd 100644 --- a/.github/workflows/tauri-build.yml +++ b/.github/workflows/tauri-build.yml @@ -33,8 +33,16 @@ jobs: - name: install frontend dependencies run: | rustup target add wasm32-unknown-unknown - cargo install trunk --locked - cargo install tauri-cli --locked + + - uses: taiki-e/cache-cargo-install-action@v1 + with: + tool: trunk + locked: true + + - uses: taiki-e/cache-cargo-install-action@v1 + with: + tool: tauri-cli + locked: true - uses: tauri-apps/tauri-action@v0 env: diff --git a/.github/workflows/tauri-publish.yml b/.github/workflows/tauri-publish.yml index 8a4a553..4b44719 100644 --- a/.github/workflows/tauri-publish.yml +++ b/.github/workflows/tauri-publish.yml @@ -31,8 +31,16 @@ jobs: - name: install frontend dependencies run: | rustup target add wasm32-unknown-unknown - cargo install trunk --locked - cargo install tauri-cli --locked + + - uses: taiki-e/cache-cargo-install-action@v1 + with: + tool: trunk + locked: true + + - uses: taiki-e/cache-cargo-install-action@v1 + with: + tool: tauri-cli + locked: true - uses: tauri-apps/tauri-action@v0 env: