Skip to content

Commit

Permalink
actually use nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Oct 1, 2023
1 parent 1ded2a4 commit 3e8e95a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
config:
- name: "Windows"
os: windows-latest
out_paths: './build/release/flash.exe'
out_paths: './target/release/flash.exe'
static: ''
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
Expand All @@ -25,16 +25,17 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true

- uses: Swatinem/rust-cache@v1
with:
key: ${{ matrix.config.name }}
target-dir: ./build
target-dir: ./target

- name: Build
run: |
${{ matrix.config.static }}
cargo build --release --target-dir ${{ github.workspace }}/build
cargo +nightly build --release
- name: Move to output folder
shell: bash
Expand Down

0 comments on commit 3e8e95a

Please sign in to comment.