Skip to content

Commit

Permalink
Add publishing on PyPI to release workflow
Browse files Browse the repository at this point in the history
CMK-18197
  • Loading branch information
jherbel committed Jul 16, 2024
1 parent f041c5b commit fc7efb6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Note: The name of this file and the name of the used environment must match the Trusted Publisher
# configuration on PyPI.

---
name: "Release"
on:
Expand All @@ -16,6 +19,9 @@

release:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
needs: [tests]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,3 +56,5 @@
updateOnlyUnreleased: true
makeLatest: false
tag: ${{ inputs.tag }}

- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit fc7efb6

Please sign in to comment.