File tree 2 files changed +20
-6
lines changed
2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 20
20
- os : ubuntu-latest
21
21
target : x86_64-unknown-linux-gnu
22
22
cross : false
23
- - os : windows -latest
23
+ - os : ubuntu -latest
24
24
target : x86_64-pc-windows-gnu
25
25
cross : true
26
+ - target : x86_64-pc-windows-msvc
27
+ os : windows-latest
28
+ cross : false
26
29
- os : macos-latest
27
30
target : x86_64-apple-darwin
28
31
cross : false
48
51
use-cross : ${{matrix.cross}}
49
52
command : build
50
53
args : --target ${{matrix.target}} --release
51
- - name : Test
52
- uses : actions-rs/cargo@v1
53
- with :
54
- command : test
55
- args : --target ${{matrix.target}}
56
54
- name : Archive production artifacts
57
55
uses : actions/upload-artifact@v3
58
56
with :
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ release :
5
+ types : [released]
6
+
7
+ env :
8
+ CARGO_TERM_COLOR : always
9
+
10
+ jobs :
11
+ publish :
12
+ name : Publish to crates.io
13
+ on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - run : cargo publish --token ${{secrets.CRATES_IO_TOKEN}}
You can’t perform that action at this time.
0 commit comments