1
Fork 0
mirror of https://github.com/Steffo99/emblematic.git synced 2024-11-23 23:34:18 +00:00

Configure Trusted Publishing explicitly

This commit is contained in:
Steffo 2023-11-19 04:42:20 +01:00
parent 1eb6862b49
commit a0ab0b3a76
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -19,10 +19,23 @@ jobs:
- test
- build
# Must be explicit due to how Trusted Publishing works on PyPI!
pypi:
uses: Steffo99/.github/.github/workflows/release-poetry-pypi.yml@main
name: "Publish release on PyPI"
runs-on: ubuntu-latest
permissions:
id-token: write
needs:
- test
- build
steps:
- name: "Download built packages from artifacts"
uses: actions/download-artifact@v3
with:
name: "Build"
path: dist/
- name: "Upload package"
uses: pypa/gh-action-pypi-publish@release/v1