github: also publish stables releases to test pypi
This commit is contained in:
22
.github/workflows/publish.yaml
vendored
22
.github/workflows/publish.yaml
vendored
@@ -60,3 +60,25 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
verbose: true
|
verbose: true
|
||||||
print-hash: 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/
|
||||||
|
|||||||
Reference in New Issue
Block a user