This commit is contained in:
neuecc 2023-04-17 20:26:46 +09:00
parent a4a5790fb2
commit afcba076ee

View File

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