File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 5
5
branches : [ master ]
6
6
pull_request :
7
7
branches : [ master ]
8
-
9
- workflow_dispatch :
10
8
11
9
env :
12
10
CARGO_TERM_COLOR : always
13
- RUST_VERSION : nightly-2021-04-23
14
11
15
12
jobs :
16
13
tests-antlr :
33
30
- name : Install Rust
34
31
uses : actions-rs/toolchain@v1
35
32
with :
36
- toolchain : ${{ env.RUST_VERSION }}
33
+ toolchain : stable
37
34
default : true
38
35
- name : Cache local Maven repository
39
36
uses : actions/cache@v2
@@ -62,12 +59,15 @@ jobs:
62
59
runs-on : ubuntu-latest
63
60
outputs :
64
61
new_version : ${{ steps.check_ver.outputs.new_version }}
62
+ strategy :
63
+ matrix :
64
+ rust_version : [ 1.52 , stable]
65
65
steps :
66
66
- uses : actions/checkout@v2
67
67
- name : Install Rust
68
68
uses : actions-rs/toolchain@v1
69
69
with :
70
- toolchain : ${{ env.RUST_VERSION }}
70
+ toolchain : ${{ matrix.rust_version }}
71
71
default : true
72
72
components : rustfmt
73
73
- name : Build
91
91
echo "::set-output name=new_version::$NEW_VER"
92
92
fi
93
93
94
-
95
94
publish :
96
95
runs-on : ubuntu-latest
97
96
if : |
@@ -107,7 +106,7 @@ jobs:
107
106
- name : Install Rust
108
107
uses : actions-rs/toolchain@v1
109
108
with :
110
- toolchain : ${{ env.RUST_VERSION }}
109
+ toolchain : stable
111
110
default : true
112
111
- name : Cargo publish check
113
112
env :
You can’t perform that action at this time.
0 commit comments