Skip to content

Commit

Permalink
configure trusted agent publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
hofbi committed Nov 5, 2024
1 parent 63961a1 commit 5cc89c4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
jobs:
python:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/vibromaf
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -23,6 +28,3 @@ jobs:
make check_dist
- name: Publish Package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 5cc89c4

Please sign in to comment.