File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 12
12
runs-on : ${{ matrix.os }}
13
13
strategy :
14
14
matrix :
15
- os : [ubuntu-latest]
15
+ os : [windows-latest, macos-latest, ubuntu-latest]
16
16
rust :
17
17
- stable
18
18
- beta
54
54
- name : Publish Release
55
55
uses : actions-rs/cargo@v1
56
56
with :
57
- command : cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
57
+ command : cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} --dry-run
58
58
59
59
release-staging :
60
60
if : github.ref == 'refs/heads/staging'
@@ -68,11 +68,11 @@ jobs:
68
68
uses : thebongy/version-check@v1
69
69
with :
70
70
file : Cargo.toml
71
- tagFormat : v${version}
71
+ tagFormat : v${version}-beta
72
72
id : version_check
73
73
74
74
- name : Publish Release
75
75
uses : actions-rs/cargo@v1
76
76
with :
77
- command : cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
77
+ command : sed -i -e 's/${version}/${version}-beta/g' /tmp/file.txt && cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} --allow-dirty --dry-run
78
78
Original file line number Diff line number Diff line change 19
19
uses : thebongy/version-check@v1
20
20
with :
21
21
file : Cargo.toml
22
- tagFormat : v${version}
22
+ tagFormat : v${version}-beta
23
23
id : version_check_staging
24
24
25
25
- name : Check Release Version (master)
33
33
runs-on : ${{ matrix.os }}
34
34
strategy :
35
35
matrix :
36
- os : [ubuntu-latest]
36
+ os : [windows-latest, macos-latest, ubuntu-latest]
37
37
rust :
38
38
- stable
39
39
- beta
60
60
uses : actions-rs/cargo@v1
61
61
with :
62
62
command : test
63
+ args : --release --all
63
64
64
65
- name : Cargo fmt
65
66
uses : actions-rs/cargo@v1
You can’t perform that action at this time.
0 commit comments