mirror of
https://github.com/Steffo99/emblematic.git
synced 2024-11-27 17:04:19 +00:00
Configure Trusted Publishing explicitly
This commit is contained in:
parent
1eb6862b49
commit
a0ab0b3a76
1 changed files with 14 additions and 1 deletions
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue