mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2024-12-23 06:56:27 +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
|
- 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: 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 commit -m "feat: 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
|
||||||
@ -26,9 +29,6 @@ jobs:
|
|||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: ${{ github.ref }}
|
branch: ${{ github.ref }}
|
||||||
tags: true
|
tags: true
|
||||||
- run: cargo publish --manifest-path csbindgen/Cargo.toml
|
|
||||||
env:
|
|
||||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
||||||
|
|
||||||
build-dotnet:
|
build-dotnet:
|
||||||
needs: [build-and-push-rust]
|
needs: [build-and-push-rust]
|
||||||
|
Loading…
Reference in New Issue
Block a user