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:
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
|
- test
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
# Must be explicit due to how Trusted Publishing works on PyPI!
|
||||||
pypi:
|
pypi:
|
||||||
uses: Steffo99/.github/.github/workflows/release-poetry-pypi.yml@main
|
name: "Publish release on PyPI"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
- build
|
- 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