File tree Expand file tree Collapse file tree 1 file changed +13
-19
lines changed
Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change 11name : publish-cli-version
2-
32on :
43 push :
54 branches : [ main ]
65 tags :
7- - v[0-9]+.[0-9]+.[0-9]+
6+ - v[0-9]+.[0-9]+.[0-9]+
87
98jobs :
109 Publish :
1110 runs-on : ubuntu-latest
12-
1311 container :
1412 image : rust:latest
15-
1613 steps :
17- - name : Checkout code
18- uses : actions/checkout@v3
19-
20- - name : Install Protoc
21- run : apt-get update && sudo apt-get install -y protobuf-compiler
22-
23- - name : test version (dry-run) and metadata checks
24- working-directory : ./cli
25- run : cargo publish --dry-run
26-
27- - name : Publish on crates.io
28- working-directory : ./cli
29- run : cargo publish
30- env :
31- CARGO_REGISTRY_TOKEN : ${{secrets.CF_TOKEN_CARGO_API}}
14+ - name : Checkout code
15+ uses : actions/checkout@v3
16+ - name : Install Protoc
17+ run : apt-get update && apt-get install -y protobuf-compiler
18+ - name : test version (dry-run) and metadata checks
19+ working-directory : ./cli
20+ run : cargo publish --dry-run
21+ - name : Publish on crates.io
22+ working-directory : ./cli
23+ run : cargo publish
24+ env :
25+ CARGO_REGISTRY_TOKEN : ${{ secrets.CF_TOKEN_CARGO_API }}
You can’t perform that action at this time.
0 commit comments