Skip to content

Commit

Permalink
fix(ci): Cache cargo install tooling (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron authored Nov 14, 2024
1 parent 2138f36 commit 4fdf4b0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/build-gui-release-binaries-cb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,20 @@ jobs:
working-directory: src-gui
run: yarn install

- name: Install Tauri CLI Globally
run: cargo install tauri-cli@^2.0.0-rc

- name: Install Typeshare CLI Globally
run: cargo install typeshare-cli
- name: install tauri-cli globally
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: [email protected]

- name: install typeshare-cli globally
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: typeshare-cli

- name: Install Dprint Globally
run: cargo install [email protected]
- name: install dprint globally
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: [email protected]

- name: Build Tauri App
env:
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/build-gui-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,19 @@ jobs:
run: yarn install

- name: install tauri-cli globally
run: cargo install tauri-cli@^2.0.0-rc

uses: taiki-e/cache-cargo-install-action@v2
with:
tool: [email protected]

- name: install typeshare-cli globally
run: cargo install typeshare-cli
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: typeshare-cli

- name: install dprint globally
run: cargo install [email protected]
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: [email protected]

- uses: tauri-apps/tauri-action@v0
env:
Expand Down

0 comments on commit 4fdf4b0

Please sign in to comment.