Merge pull request #850 from openziti/release-pypi-publish

fix pypi publishing
This commit is contained in:
Kenneth Bingham 2025-01-29 10:02:38 -05:00 committed by GitHub
commit 3e6496f39f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 8 deletions

View File

@ -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:
@ -54,16 +54,10 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: ./download
path: ./dist
merge-multiple: true
pattern: zrok_sdk_*
- name: check
run: |
ls -lR ./download/
mkdir dist
cp ./download/* ./dist/
- name: Publish wheels (TestPYPI)
uses: pypa/gh-action-pypi-publish@release/v1
with:
@ -72,6 +66,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: ./dist
merge-multiple: true
pattern: zrok_sdk_*
- name: Publish wheels (PyPI)
uses: pypa/gh-action-pypi-publish@release/v1
with:

View File

@ -1,5 +1,9 @@
# CHANGELOG
## v0.4.47
FIX: PyPi publishing was failing due to a CI issue (https://github.com/openziti/zrok/issues/849)
## v0.4.46
FEATURE: Linux service template for systemd user units (https://github.com/openziti/zrok/pull/818)