Skip to content

Commit 2a9ba5a

Browse files
authored
Create rust.yml
1 parent 69418ab commit 2a9ba5a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/rust.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
release:
8+
name: release ${{ matrix.target }}
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
target: [x86_64-pc-windows-gnu]
14+
steps:
15+
- uses: actions/checkout@main
16+
- name: Compile
17+
id: compile
18+
uses: rust-build/[email protected]
19+
with:
20+
RUSTTARGET: x86_64-pc-windows-gnu
21+
UPLOAD_MODE: none
22+
23+
- name: Upload artifact
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: Binary
27+
path: |
28+
${{ steps.compile.outputs.BUILT_ARCHIVE }}
29+
${{ steps.compile.outputs.BUILT_CHECKSUM }}

0 commit comments

Comments
 (0)