mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 08:44:14 +01:00
update python action
This commit is contained in:
parent
4d14617ed7
commit
c8b240037c
14
.github/workflows/build-wheels.yml
vendored
14
.github/workflows/build-wheels.yml
vendored
@ -6,6 +6,9 @@ on:
|
||||
|
||||
jobs:
|
||||
build_wheels:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: sdk/python/sdk/zrok
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -38,12 +41,14 @@ jobs:
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: startsWith(matrix.spec.name, 'linux')
|
||||
with:
|
||||
name: openziiti-sdist
|
||||
path: ./dist/*
|
||||
name: zrok_sdk
|
||||
path: ${{ github.workspace }}/sdk/python/sdk/zrok/dist/*
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: [ build_wheels ]
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
@ -58,17 +63,14 @@ jobs:
|
||||
|
||||
- name: Publish wheels (TestPYPI)
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
permissions:
|
||||
id-token: write
|
||||
with:
|
||||
repository-url: https://test.pypi.org/legacy/
|
||||
packages_dir: dist
|
||||
skip_existing: true
|
||||
verbose: true
|
||||
|
||||
- name: Publish wheels (PyPI)
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
permissions:
|
||||
id-token: write
|
||||
with:
|
||||
packages_dir: dist
|
||||
verbose: true
|
Loading…
Reference in New Issue
Block a user