File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ # To trigger this:
2+ # - go to Actions > Publish
3+ # - click the Run Workflow dropdown in the top-right
4+ name : Publish
5+ on : workflow_dispatch
6+ env :
7+ CRATES_TOKEN : ${{ secrets.CRATES_TOKEN }}
8+ jobs :
9+ cargo-publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout sources
13+ uses : actions/checkout@v3
14+ - name : Install stable toolchain
15+ uses : dtolnay/rust-toolchain@master
16+ with :
17+ toolchain : stable
18+ - name : Publish bindgen (lib)
19+ run : cargo publish --package bindgen --token ${CRATES_TOKEN}
20+ - name : Publish bindgen-cli
21+ run : cargo publish --package bindgen-cli --token ${CRATES_TOKEN}
Original file line number Diff line number Diff line change @@ -564,8 +564,9 @@ important fix) you can skip this.
564564Once you're in the right branch, do:
565565
566566```
567- cargo release [patch|minor] --execute
567+ cargo release [patch|minor] --no-publish -- execute
568568```
569+
569570This does the following:
570571
571572- Tag (` git tag ` ) the HEAD commit
You can’t perform that action at this time.
0 commit comments