Skip to content

Commit

Permalink
having a go at enabling attestation
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Wohlers-Reichel <[email protected]>
  • Loading branch information
squishykid committed Nov 23, 2024
1 parent 28ef56a commit 8051ec1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
deploy:
needs: release
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v1
- name: Set up Python
Expand All @@ -26,10 +28,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 8051ec1

Please sign in to comment.