Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOnlyOne93CJT authored Sep 13, 2024
1 parent 998da16 commit afe9452
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ defaults:

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -31,9 +31,17 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path backend/Cargo.toml
args: --release --manifest-path backend/Cargo.toml

- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path backend/Cargo.toml

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: rust-binary
path: backend/target/release/*.exe

0 comments on commit afe9452

Please sign in to comment.