Skip to content

Commit ac354dd

Browse files
committed
Fix
1 parent 1613055 commit ac354dd

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,23 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Set up Python 3.11
12+
- name: Set up Python
1313
uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.11"
1616
- name: Install pypa/build
17-
run: python -m pip install build --user
17+
run: python3 -m pip install build --user
1818
- name: Build a binary wheel and a source tarball
19-
run: python -m build --sdist --wheel --outdir dist/
19+
run: python3 -m build --sdist --wheel --outdir dist/
2020
- name: Publish distribution 📦 to Test PyPI
21-
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')
21+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
2222
uses: pypa/gh-action-pypi-publish@release/v1
2323
with:
2424
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
2525
repository-url: https://test.pypi.org/legacy/
26-
skip-existing: true
26+
skip_existing: true
2727
- name: Publish distribution 📦 to PyPI
2828
if: startsWith(github.ref, 'refs/tags/')
2929
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:
3131
password: ${{ secrets.PYPI_API_TOKEN }}
32-
skip-existing: true

0 commit comments

Comments
 (0)