Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
F0903 committed Oct 27, 2023
1 parent 62197a0 commit 964d214
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: Swatinem/rust-cache@v1

- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Set toolchain
run: rustup override set nightly
- name: Build
run: cargo build --verbose --release

- name: Upload binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-win64
path: ./target/release/${{ github.event.repository.name }}.exe
Expand Down

0 comments on commit 964d214

Please sign in to comment.