Skip to content

Commit

Permalink
Override part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed Nov 30, 2024
1 parent 5b4f559 commit d92f30c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
run: sudo apt-get update && sudo apt-get install libudev-dev
if: runner.os == 'Linux'
- uses: actions/checkout@v4
- name: Use Rust 1.83.0
run: rustup override set 1.83.0
- name: Use Rust 1.83.0 with target ${{ matrix.job.target }}
run: rustup override set 1.83.0-${{ matrix.job.target }}
- uses: Swatinem/rust-cache@v2
- name: Build in release mode
run: cargo build --release --target=${{ matrix.job.target }}
Expand Down Expand Up @@ -155,8 +155,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: Use Rust 1.83.0
run: rustup override set 1.83.0
- name: Use Rust 1.83.0 with target ${{ matrix.job.target }}
run: rustup override set 1.83.0-${{ matrix.job.target }}
- uses: Swatinem/rust-cache@v2
- name: Install cargo-edit
run: cargo install cargo-edit
Expand Down Expand Up @@ -214,8 +214,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: Use Rust 1.83.0
run: rustup override set 1.83.0
- name: Use Rust 1.83.0 with target ${{ matrix.job.target }}
run: rustup override set 1.83.0-${{ matrix.job.target }}
- uses: Swatinem/rust-cache@v2
- name: Build in release mode
run: cargo build --release --target=${{ matrix.job.target }}
Expand Down

0 comments on commit d92f30c

Please sign in to comment.