Skip to content

Commit

Permalink
fix: restore wheel upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Jan 5, 2024
1 parent c8de74a commit d8b1494
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- main
- test

env:
LIB_VERSION: '2024.1.1'
Expand Down Expand Up @@ -119,7 +120,7 @@ jobs:
CIBW_BEFORE_BUILD_MACOS: ./build.sh
- uses: actions/upload-artifact@v4
with:
name: macos-${{ matrix.arch }}-wheels
name: pypi-wheels-macos-${{ matrix.arch }}
path: build/wheelhouse/*.whl

build_wheels_linux:
Expand Down Expand Up @@ -154,7 +155,7 @@ jobs:
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
- uses: actions/upload-artifact@v4
with:
name: linux-${{ matrix.arch }}-wheels
name: pypi-wheels-linux-${{ matrix.arch }}
path: build/wheelhouse/*.whl

build_wheels_windows:
Expand Down Expand Up @@ -184,7 +185,7 @@ jobs:
run: echo "OPENSSL_CONF=''" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
- uses: actions/upload-artifact@v4
with:
name: windows-wheels
name: pypi-wheels-windows
path: build\wheelhouse\*.whl

build_sdist:
Expand All @@ -207,6 +208,7 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: pypi-sdist
path: build/dist/*.tar.gz

upload_pypi_test:
Expand All @@ -217,7 +219,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
merge-multiple: true
pattern: pypi-*
path: dist

- uses: pypa/[email protected]
Expand All @@ -235,7 +238,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
merge-multiple: true
pattern: pypi-*
path: dist

- uses: pypa/[email protected]
Expand Down

0 comments on commit d8b1494

Please sign in to comment.