From 22ce020c12d6edd7869243d495a45a4678c1b752 Mon Sep 17 00:00:00 2001 From: neuecc Date: Mon, 17 Apr 2023 20:15:32 +0900 Subject: [PATCH] try CI again --- .github/workflows/build-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b48f219..9471d18 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -17,13 +17,15 @@ jobs: steps: - uses: actions/checkout@v3 - 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 "feat: Update cargo.toml version to ${{ env.GIT_TAG }}" -a + - run: git tag ${{ env.GIT_TAG }} - name: Push changes uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref }} - tags: false + tags: true - run: cargo publish --manifest-path csbindgen/Cargo.toml env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}