Skip to content

Commit 38fc55b

Browse files
authored
Update build_and_upload_wheels.yml
1 parent 6c85a80 commit 38fc55b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build_and_upload_wheels.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,32 @@ name: Build and upload to PyPI
55
env:
66
CIBW_SKIP: "cp36-*"
77

8-
# Build on every branch push, tag push, and pull request change:
98
on:
109
workflow_dispatch:
1110

1211
jobs:
1312
build_and_upload_wheels:
1413
runs-on: ubuntu-latest
1514
steps:
16-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1716
with:
1817
fetch-depth: 0
1918

2019
- name: Build SDist and wheel
2120
run: pipx run build
2221

23-
- uses: actions/upload-artifact@v3
22+
- uses: actions/upload-artifact@v4
2423
with:
24+
name: python-package-dist
2525
path: dist/*
2626

2727
- name: Check metadata
2828
run: pipx run twine check dist/*
2929

30-
- uses: pypa/gh-action-pypi-publish@v1.5.0
30+
- uses: pypa/gh-action-pypi-publish@v1.8.14
3131
with:
3232
user: ${{ secrets.PYPI_USER }}
3333
password: ${{ secrets.PYPI_PROD_PASSWORD }}
3434
verbose: true
35-
# To test: repository_url: https://test.pypi.org/legacy/
35+
# For testing purposes:
36+
# repository_url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)