Skip to content

Commit

Permalink
fix: use latest release branch for gh-action-pypi-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
LKI committed Nov 13, 2024
1 parent ed407d3 commit 9926c2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
- name: Release chinesecalendar
run: python setup.py sdist bdist_wheel
- name: Publish chinesecalendar
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_token }}
- name: Release chinese-calendar
run: |
sed -i 's/chinesecalendar/chinese_calendar/g' setup.py
python setup.py sdist bdist_wheel
- name: Publish chinese-calendar
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_token }}

0 comments on commit 9926c2f

Please sign in to comment.