Skip to content

Commit f085efa

Browse files
committed
fancier workflow
1 parent 3c08373 commit f085efa

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,20 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- uses: actions-rs/toolchain@v1
24-
with:
25-
toolchain: nightly
26-
override: true
27-
28-
- uses: Swatinem/rust-cache@v1
29-
with:
30-
key: ${{ matrix.config.name }}
31-
target-dir: ./target
23+
- uses: Swatinem/rust-cache@v2
3224

3325
- name: Build
3426
run: |
3527
${{ matrix.config.static }}
36-
cargo +nightly build --release
37-
28+
cargo build --release
29+
3830
- name: Move to output folder
3931
shell: bash
4032
working-directory: ${{ github.workspace }}
4133
run: |
4234
mkdir ./out
4335
mv ${{ matrix.config.out_paths }} ./out
44-
36+
4537
- name: Upload Artifacts
4638
uses: actions/upload-artifact@v4
4739
with:

0 commit comments

Comments
 (0)