Skip to content

Commit

Permalink
CI: Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ghisvail committed Apr 30, 2024
1 parent f9e5f35 commit 9196a94
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: publish
name: release

on:
release:
types: [ published ]

permissions:
contents: read
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
publish:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -23,5 +24,3 @@ jobs:
run: pipx run build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 9196a94

Please sign in to comment.