Skip to content

Commit

Permalink
Switch to using cargo-install action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennett-Petzold committed Feb 24, 2024
1 parent 57f2a05 commit e1cc353
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Download dioxus
run: |
cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli
uses: baptiste0928/cargo-install@v3
with:
crate: dioxus-cli

- name: Fix paths (windows)
if: ${{ matrix.os == 'windows' }}
run: |
sed -i 's;/;\\\\;g' desktop/Dioxus.toml # Filesystem paths...
sed -i 's;/;\\\\;g' Dioxus.toml # Filesystem paths...
- name: Build artifacts (cross-compile)
if: ${{ matrix.triple }}
Expand Down

0 comments on commit e1cc353

Please sign in to comment.