Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hideousmon committed Sep 6, 2023
1 parent 7869350 commit 0b2413d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,20 @@ jobs:
path: dist/*

- name: Check metadata
run: pipx run twine check dist/*
run: pipx run twine check dist/*

publish:
needs: [ dist ]
permissions:
contents: none
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 0b2413d

Please sign in to comment.