Skip to content

Commit

Permalink
Update for v0.8
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Jun 24, 2024
1 parent c482e35 commit 720d7e6
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# release is ran when a release is made on Github
# Build the source distribution under Linux
build_sdist:
name: Source distribution
name: Build source distribution
runs-on: ubuntu-latest

steps:
Expand All @@ -44,10 +44,10 @@ jobs:
pip install .[build]
python -m build
- name: Store artifacts
uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
name: dist
path: dist

build_wheels:
name: Build wheels on ${{ matrix.os[1] }} - ${{ matrix.os[2] }} with Python ${{ matrix.python[0] }}
Expand Down Expand Up @@ -105,15 +105,15 @@ jobs:
CIBW_ARCHS: ${{ matrix.os[2] }}
CIBW_ENVIRONMENT_PASS_LINUX: RUNNER_OS

- name: Move wheels to dist
run: |
mkdir -p dist
mv ./wheelhouse/* dist/
# - name: Move wheels to dist
# run: |
# mkdir -p dist
# mv ./wheelhouse/* dist/

- uses: actions/upload-artifact@v4
with:
path: ./dist/
name: ${{ matrix.python[0] }}-${{ matrix.os[1] }}
name: dist
path: dist

build-wheels-m1:
name: Build wheels on Arm M1 with Python ${{ matrix.python[0] }}
Expand Down Expand Up @@ -148,15 +148,10 @@ jobs:
CIBW_BUILD: ${{ matrix.python[0] }}-macosx_arm64
CIBW_ARCHS_MACOS: arm64

- name: Move wheels to dist
run: |
mkdir -p dist
mv ./wheelhouse/* dist/
- uses: actions/upload-artifact@v4
with:
path: ./dist/
name: ${{ matrix.python[0] }}-arm
name: dist
path: dist

# PyPI on release
pypi:
Expand Down

0 comments on commit 720d7e6

Please sign in to comment.