Skip to content

Commit

Permalink
Fix python release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Nov 22, 2024
1 parent 3b4a524 commit cb68bf3
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,16 @@ jobs:
python:
name: Python wrapping
needs: ['create-release']
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os.runner }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
- os: ubuntu-latest
build: linux
- os: macos-latest
build: macos
- os: windows-latest
build: windows
steps:
- uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -212,7 +214,7 @@ jobs:
shell: bash
run: |
version="${{ needs.create-release.outputs.version }}"
gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }}
gh release upload "$version" dist/wheels-${{ matrix.build }}-*
python-sdist:
name: Python sdist
Expand All @@ -233,4 +235,4 @@ jobs:
shell: bash
run: |
version="${{ needs.create-release.outputs.version }}"
gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }}
gh release upload "$version" dist/wheels-sdist

0 comments on commit cb68bf3

Please sign in to comment.