Skip to content

Commit

Permalink
change publish ci
Browse files Browse the repository at this point in the history
  • Loading branch information
EeroEternal committed Dec 1, 2022
1 parent 095bc6f commit 99223a4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
python-version: "3.10"
- name: Build package
run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- name: Publish package to PyPI
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN}}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 99223a4

Please sign in to comment.