Skip to content

Commit ad001df

Browse files
committed
Update github action
1 parent 959eb18 commit ad001df

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-python@v4
1414
with:
15-
python-version: 3.9
15+
python-version: '3.11'
1616

1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install setuptools wheel twine
21-
python setup.py sdist bdist_wheel
20+
pip install -U build setuptools wheel
21+
python -m build --no-isolation
2222
2323
- name: Publish package
24-
uses: pypa/gh-action-pypi-publish@master
24+
uses: pypa/gh-action-pypi-publish@release/v1
2525
with:
2626
user: __token__
2727
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)