mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2024-12-23 06:56:27 +00:00
more CI
This commit is contained in:
parent
a4a5790fb2
commit
afcba076ee
2
.github/workflows/build-release.yml
vendored
2
.github/workflows/build-release.yml
vendored
@ -18,10 +18,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cargo build --verbose
|
- run: cargo build --verbose
|
||||||
- run: cargo test update_package_version -- ${{ inputs.tag }} --nocapture
|
- run: cargo test update_package_version -- ${{ inputs.tag }} --nocapture
|
||||||
|
- run: git commit -m "Update cargo.toml version to ${{ env.GIT_TAG }}" -a
|
||||||
- run: cargo publish --manifest-path csbindgen/Cargo.toml
|
- run: cargo publish --manifest-path csbindgen/Cargo.toml
|
||||||
env:
|
env:
|
||||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
- run: git commit -m "Update cargo.toml version to ${{ env.GIT_TAG }}" -a
|
|
||||||
- run: git tag ${{ env.GIT_TAG }}
|
- run: git tag ${{ env.GIT_TAG }}
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
|
Loading…
Reference in New Issue
Block a user