From 2dc930005ddeab62ec83b1c3d91c951aa7900956 Mon Sep 17 00:00:00 2001 From: kunkunlin Date: Sat, 21 Dec 2024 11:34:00 +0800 Subject: [PATCH] [C] Update release.yaml --- .github/workflows/release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25b138c..86da3ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.branch }} + token: ${{ secrets.CI_PAT_DS }} fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} @@ -35,16 +36,12 @@ jobs: run: | sed -i "s/__version__ = '[0-9]\+\(\.[0-9]\+\)\{1,2\}\(rc[0-9]\+\|[ab][0-9]\+\)\?'/__version__ = '${{ github.event.inputs.version_tag }}'/g" chameleon/__init__.py - - name: Commit changes - run: | - git add . - git commit -m "[C] Update python version" - - name: Commit & Push changes of Version Updating - uses: ad-m/github-push-action@master + uses: actions-js/push@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.event.inputs.branch }} + message: "[C] Update package version" + github_token: ${{ secrets.CI_PAT_DS }} - name: Build wheel run: |