Skip to content

Commit

Permalink
fix github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiersg committed Oct 15, 2024
1 parent 2a8adc1 commit 563cc0e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ jobs:
# os: ubuntu-20.04
- vers: auto64
os: ubuntu-20.04
osname: linux
# - vers: arm64
# os: macos-10.15
# - vers: auto64
# os: macos-10.15
- vers: auto64
os: windows-2019
osname: windows

env:
SCCACHE_VERSION: 0.2.13
Expand Down Expand Up @@ -57,7 +59,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist
name: wheel-${{ matrix.osname }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -83,15 +85,23 @@ jobs:
python setup.py sdist
- uses: actions/upload-artifact@v4
with:
name: dist
name: sdist
path: dist/*.tar.gz
release:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: dist
name: sdist
path: dist
- uses: actions/download-artifact@v4
with:
name: wheel-linux
path: dist
- uses: actions/download-artifact@v4
with:
name: wheel-windows
path: dist

- name: Release
Expand Down

0 comments on commit 563cc0e

Please sign in to comment.