File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [ master ]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches :
8
+ - master
9
+ - v0.3
8
10
9
11
workflow_dispatch :
10
12
11
13
env :
12
14
CARGO_TERM_COLOR : always
13
- RUST_VERSION : nightly-2021-04 -23
15
+ RUST_VERSION : nightly-2021-12 -23
14
16
15
17
jobs :
16
18
tests-antlr :
@@ -110,10 +112,7 @@ jobs:
110
112
toolchain : ${{ env.RUST_VERSION }}
111
113
default : true
112
114
- name : Cargo publish check
113
- env :
114
- CRATES_IO_PUBLISH_TOKEN : ${{ secrets.CRATES_IO_PUBLISH_TOKEN }}
115
115
run : |
116
- cargo login $CRATES_IO_PUBLISH_TOKEN
117
116
cargo publish --dry-run
118
117
- uses : actions/download-artifact@v2
119
118
with :
@@ -139,7 +138,11 @@ jobs:
139
138
asset_name : antlr4-4.8-2-SNAPSHOT-complete.jar
140
139
asset_content_type : application/java-archive
141
140
- name : Cargo publish
142
- run : cargo publish
141
+ env :
142
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CRATES_IO_PUBLISH_TOKEN }}
143
+ run : |
144
+ git clean -f
145
+ cargo publish
143
146
- name : Publish github release
144
147
uses : actions/create-release@v1
145
148
env :
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " antlr-rust"
3
- version = " 0.2.0 "
3
+ version = " 0.2.2 "
4
4
authors = [
" Konstantin Anisimov <[email protected] >" ]
5
5
homepage = " https://github.com/rrevenantt/antlr4rust"
6
6
repository = " https://github.com/rrevenantt/antlr4rust"
Original file line number Diff line number Diff line change 1
1
#![ crate_type = "lib" ]
2
2
#![ feature( try_blocks) ]
3
3
//#![feature(nll)]
4
- #![ feature( raw) ]
5
4
#![ feature( is_sorted) ]
6
5
#![ feature( cell_update) ]
7
6
#![ feature( get_mut_unchecked) ]
You can’t perform that action at this time.
0 commit comments