Skip to content

Commit

Permalink
[C] Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kunkunlin1221 committed Dec 21, 2024
1 parent 28a2d9f commit 2dc9300
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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: |
Expand Down

0 comments on commit 2dc9300

Please sign in to comment.