Skip to content

Commit 3e8e95a

Browse files
authored
actually use nightly
1 parent 1ded2a4 commit 3e8e95a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
config:
1313
- name: "Windows"
1414
os: windows-latest
15-
out_paths: './build/release/flash.exe'
15+
out_paths: './target/release/flash.exe'
1616
static: ''
1717
name: ${{ matrix.config.name }}
1818
runs-on: ${{ matrix.config.os }}
@@ -25,16 +25,17 @@ jobs:
2525
- uses: actions-rs/toolchain@v1
2626
with:
2727
toolchain: nightly
28+
override: true
2829

2930
- uses: Swatinem/rust-cache@v1
3031
with:
3132
key: ${{ matrix.config.name }}
32-
target-dir: ./build
33+
target-dir: ./target
3334

3435
- name: Build
3536
run: |
3637
${{ matrix.config.static }}
37-
cargo build --release --target-dir ${{ github.workspace }}/build
38+
cargo +nightly build --release
3839
3940
- name: Move to output folder
4041
shell: bash

0 commit comments

Comments
 (0)