Skip to content

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Oct 1, 2024
1 parent 3e97581 commit 6c60ad6
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,21 @@ jobs:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- name: Build distribution packages
run: pdm publish
run: pdm build
- uses: actions/upload-artifact@v4
with:
path: dist/*.*
retention-days: 1
publish:
name: Upload to PyPI
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/iblqt
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 6c60ad6

Please sign in to comment.