File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ master ]
66 pull_request :
7- branches : [ master ]
7+ branches :
8+ - master
9+ - v0.3
810
911 workflow_dispatch :
1012
1113env :
1214 CARGO_TERM_COLOR : always
13- RUST_VERSION : nightly-2021-04 -23
15+ RUST_VERSION : nightly-2021-12 -23
1416
1517jobs :
1618 tests-antlr :
@@ -110,10 +112,7 @@ jobs:
110112 toolchain : ${{ env.RUST_VERSION }}
111113 default : true
112114 - name : Cargo publish check
113- env :
114- CRATES_IO_PUBLISH_TOKEN : ${{ secrets.CRATES_IO_PUBLISH_TOKEN }}
115115 run : |
116- cargo login $CRATES_IO_PUBLISH_TOKEN
117116 cargo publish --dry-run
118117 - uses : actions/download-artifact@v2
119118 with :
@@ -139,7 +138,11 @@ jobs:
139138 asset_name : antlr4-4.8-2-SNAPSHOT-complete.jar
140139 asset_content_type : application/java-archive
141140 - 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
143146 - name : Publish github release
144147 uses : actions/create-release@v1
145148 env :
Original file line number Diff line number Diff line change 11[package ]
22name = " antlr-rust"
3- version = " 0.2.0 "
3+ version = " 0.2.2 "
44authors = [" Konstantin Anisimov <rrevenantt@gmail.com>" ]
55homepage = " https://github.com/rrevenantt/antlr4rust"
66repository = " https://github.com/rrevenantt/antlr4rust"
Original file line number Diff line number Diff line change 11#![ crate_type = "lib" ]
22#![ feature( try_blocks) ]
33//#![feature(nll)]
4- #![ feature( raw) ]
54#![ feature( is_sorted) ]
65#![ feature( cell_update) ]
76#![ feature( get_mut_unchecked) ]
You can’t perform that action at this time.
0 commit comments