publich first

This commit is contained in:
neuecc 2023-04-17 20:16:15 +09:00
parent 22ce020c12
commit 82ce9c9a51

View File

@ -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]