Skip to content

Commit

Permalink
github: also publish stables releases to test pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
aconchillo committed Apr 7, 2024
1 parent b678097 commit 86c8ab0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,25 @@ jobs:
with:
verbose: true
print-hash: true

publish-to-test-pypi:
name: "Test publish to PyPI"
runs-on: ubuntu-latest
needs: [ build ]
environment:
name: testpypi
url: https://pypi.org/p/dailyai
permissions:
id-token: write
steps:
- name: Download wheels
uses: actions/download-artifact@v4
with:
name: wheels
path: ./dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
print-hash: true
repository-url: https://test.pypi.org/legacy/

0 comments on commit 86c8ab0

Please sign in to comment.