Skip to content

Commit e220fb3

Browse files
authored
Merge pull request #80 from jubako/r/0.3.2
Fix python release upload
2 parents 3b4a524 + cb68bf3 commit e220fb3

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/pre_release.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,16 @@ jobs:
172172
python:
173173
name: Python wrapping
174174
needs: ['create-release']
175-
runs-on: ${{ matrix.os }}
175+
runs-on: ${{ matrix.os.runner }}
176176
strategy:
177177
fail-fast: false
178178
matrix:
179-
os:
180-
- ubuntu-latest
181-
- macos-latest
182-
- windows-latest
179+
- os: ubuntu-latest
180+
build: linux
181+
- os: macos-latest
182+
build: macos
183+
- os: windows-latest
184+
build: windows
183185
steps:
184186
- uses: actions/setup-python@v5
185187
with:
@@ -212,7 +214,7 @@ jobs:
212214
shell: bash
213215
run: |
214216
version="${{ needs.create-release.outputs.version }}"
215-
gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }}
217+
gh release upload "$version" dist/wheels-${{ matrix.build }}-*
216218
217219
python-sdist:
218220
name: Python sdist
@@ -233,4 +235,4 @@ jobs:
233235
shell: bash
234236
run: |
235237
version="${{ needs.create-release.outputs.version }}"
236-
gh release upload "$version" ${{ env.ASSET }} ${{ env.ASSET_SUM }}
238+
gh release upload "$version" dist/wheels-sdist

0 commit comments

Comments
 (0)