- change publish.yml
This commit is contained in:
20
.github/workflows/publish.yml
vendored
20
.github/workflows/publish.yml
vendored
@@ -9,16 +9,16 @@ jobs:
|
|||||||
name: publish
|
name: publish
|
||||||
needs: publish_wheels
|
needs: publish_wheels
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: pypi
|
environment:
|
||||||
|
name: pypi
|
||||||
|
url: https://pypi.org/p/tiffwrite
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- name: Download all the dists
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
# unpacks all tiffwrite artifacts into dist/
|
name: python-package-distributions
|
||||||
pattern: tiffwrite-*
|
path: dist/
|
||||||
path: dist
|
- name: Publish distribution 📦 to PyPI
|
||||||
merge-multiple: true
|
|
||||||
- name: Publish package to PyPI
|
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
||||||
repository-url: https://upload.pypi.org/legacy/
|
|
||||||
Reference in New Issue
Block a user