-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
publish from GitHub release page (#2645)
* space to breath * publish from GitHub Releases * Apply suggestions from code review
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# To trigger this: | ||
# - go to Actions > Publish | ||
# - click the Run Workflow dropdown in the top-right | ||
name: Publish | ||
on: workflow_dispatch | ||
env: | ||
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} | ||
jobs: | ||
cargo-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
- name: Install stable toolchain | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
- name: Publish bindgen (lib) | ||
run: cargo publish --package bindgen --token ${CRATES_TOKEN} | ||
- name: Publish bindgen-cli | ||
run: cargo publish --package bindgen-cli --token ${CRATES_TOKEN} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters