mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 09:48:07 +02:00
Merge pull request #850 from openziti/release-pypi-publish
fix pypi publishing
This commit is contained in:
commit
3e6496f39f
23
.github/workflows/build-wheels.yml
vendored
23
.github/workflows/build-wheels.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
name: zrok_sdk_${{ matrix.spec.target }}
|
name: zrok_sdk_${{ matrix.spec.target }}
|
||||||
path: ${{ github.workspace }}/sdk/python/sdk/zrok/dist/*
|
path: ${{ github.workspace }}/sdk/python/sdk/zrok/dist/*
|
||||||
|
|
||||||
publish:
|
publish-testpypi:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs: [ build_wheels ]
|
needs: [ build_wheels ]
|
||||||
permissions:
|
permissions:
|
||||||
@ -54,16 +54,10 @@ jobs:
|
|||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./download
|
path: ./dist
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
pattern: zrok_sdk_*
|
pattern: zrok_sdk_*
|
||||||
|
|
||||||
- name: check
|
|
||||||
run: |
|
|
||||||
ls -lR ./download/
|
|
||||||
mkdir dist
|
|
||||||
cp ./download/* ./dist/
|
|
||||||
|
|
||||||
- name: Publish wheels (TestPYPI)
|
- name: Publish wheels (TestPYPI)
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
@ -72,6 +66,19 @@ jobs:
|
|||||||
skip-existing: true
|
skip-existing: true
|
||||||
verbose: 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)
|
- name: Publish wheels (PyPI)
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## v0.4.47
|
||||||
|
|
||||||
|
FIX: PyPi publishing was failing due to a CI issue (https://github.com/openziti/zrok/issues/849)
|
||||||
|
|
||||||
## v0.4.46
|
## v0.4.46
|
||||||
|
|
||||||
FEATURE: Linux service template for systemd user units (https://github.com/openziti/zrok/pull/818)
|
FEATURE: Linux service template for systemd user units (https://github.com/openziti/zrok/pull/818)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user