We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c434331 commit b87e9faCopy full SHA for b87e9fa
1 file changed
.github/workflows/rust.yml
@@ -1,3 +1,5 @@
1
+name: Rust CI
2
+
3
on:
4
push:
5
branches: [ "main" ]
@@ -9,7 +11,12 @@ env:
9
11
10
12
jobs:
13
build:
- runs-on: ubuntu-latest
14
+ name: Build (${{ matrix.os }})
15
+ runs-on: ${{ matrix.os }}
16
17
+ strategy:
18
+ matrix:
19
+ os: [ ubuntu-latest, windows-latest ]
20
21
steps:
22
- uses: actions/checkout@v4
@@ -34,12 +41,9 @@ jobs:
34
41
- name: Build release
35
42
run: cargo build --release --verbose
36
43
37
- - name: Run tests
38
- run: cargo test --verbose
39
-
40
- - name: Upload build artifact
44
+ - name: Upload binary
45
uses: actions/upload-artifact@v4
46
with:
- name: rust-build-${{ runner.os }}
- path: target/release/
- if-no-files-found: error
47
+ name: PacMine-${{ runner.os }}
48
+ path: |
49
+ target/release/PacMine${{ runner.os == 'Windows' && '.exe' || '' }}
0 commit comments