mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2024-12-22 22:46:26 +00:00
publich first
This commit is contained in:
parent
22ce020c12
commit
82ce9c9a51
6
.github/workflows/build-release.yml
vendored
6
.github/workflows/build-release.yml
vendored
@ -18,6 +18,9 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- run: cargo build --verbose
|
||||
- run: cargo test update_package_version -- ${{ inputs.tag }} --nocapture
|
||||
- run: cargo publish --manifest-path csbindgen/Cargo.toml
|
||||
env:
|
||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
- run: git commit -m "feat: Update cargo.toml version to ${{ env.GIT_TAG }}" -a
|
||||
- run: git tag ${{ env.GIT_TAG }}
|
||||
- name: Push changes
|
||||
@ -26,9 +29,6 @@ jobs:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
tags: true
|
||||
- run: cargo publish --manifest-path csbindgen/Cargo.toml
|
||||
env:
|
||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
|
||||
build-dotnet:
|
||||
needs: [build-and-push-rust]
|
||||
|
Loading…
Reference in New Issue
Block a user