From edae01ce6ec01d6b9a0b3de11c72c90811788c2a Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Mon, 21 Oct 2024 13:50:57 -0400 Subject: [PATCH] fix wheel publish --- .github/workflows/wheels.yml | 50 +++++++++++++++++------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 61aa346..19b0acf 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -154,30 +154,28 @@ jobs: # name: wheels-sdist-object-store-rs # path: dist - # release: - # runs-on: ubuntu-latest - # strategy: - # matrix: - # name: Release - # environment: - # name: release - # url: https://pypi.org/p/object-store-rs - # permissions: - # # IMPORTANT: this permission is mandatory for trusted publishing - # id-token: write - # if: startsWith(github.ref, 'refs/tags/') - # needs: [linux, windows, macos] - # steps: - # - uses: actions/download-artifact@v4 - # with: - # pattern: wheels-*-object-store-rs - # merge-multiple: true - # path: dist - # - uses: actions/setup-python@v4 - # with: - # python-version: 3.8 + release: + runs-on: ubuntu-latest + name: Release + # environment: + # name: release + # url: https://pypi.org/p/object-store-rs + # permissions: + # # IMPORTANT: this permission is mandatory for trusted publishing + # id-token: write + if: startsWith(github.ref, 'refs/tags/') + needs: [linux, musllinux, windows, macos] + steps: + - uses: actions/download-artifact@v4 + with: + pattern: wheels-*-object-store-rs + merge-multiple: true + path: dist + - uses: actions/setup-python@v4 + with: + python-version: 3.9 - # - uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # user: __token__ - # password: ${{ secrets.PYPI_API_TOKEN }} + - uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }}