mirror of
https://github.com/openziti/zrok.git
synced 2025-03-10 04:48:54 +01:00
publish to pypi in a separate job if testpypi succeeds
This commit is contained in:
parent
6554897473
commit
dfbaae37ae
15
.github/workflows/build-wheels.yml
vendored
15
.github/workflows/build-wheels.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
name: zrok_sdk_${{ matrix.spec.target }}
|
||||
path: ${{ github.workspace }}/sdk/python/sdk/zrok/dist/*
|
||||
|
||||
publish:
|
||||
publish-testpypi:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: [ build_wheels ]
|
||||
permissions:
|
||||
@ -72,6 +72,19 @@ jobs:
|
||||
skip-existing: true
|
||||
verbose: true
|
||||
|
||||
publish-pypi:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: [ publish-testpypi ]
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: ./download
|
||||
merge-multiple: true
|
||||
pattern: zrok_sdk_*
|
||||
|
||||
- name: Publish wheels (PyPI)
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user