Skip to content

Commit 5edc959

Browse files
committed
test: add windows build
1 parent b98b873 commit 5edc959

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Release
22

33
on:
4-
release:
5-
types: [created]
4+
push:
5+
branches: [ "build-windows" ]
66

77
jobs:
88
release:
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
target: [x86_64-unknown-linux-musl, x86_64-apple-darwin]
14+
target: [x86_64-unknown-linux-musl, x86_64-apple-darwin, x86_64-pc-windows-gnu]
1515
steps:
1616
- uses: actions/checkout@master
1717
- name: Compile and release
@@ -20,3 +20,11 @@ jobs:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
with:
2222
RUSTTARGET: ${{ matrix.target }}
23+
UPLOAD_MODE: none
24+
- name: Upload artifact
25+
uses: actions/upload-artifact@v3
26+
with:
27+
name: Binary
28+
path: |
29+
${{ steps.compile.outputs.BUILT_ARCHIVE }}
30+
${{ steps.compile.outputs.BUILT_CHECKSUM }}

0 commit comments

Comments
 (0)