Skip to content

Commit

Permalink
Drop os matrix, all wheels are the same, fix github release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl committed Nov 3, 2023
1 parent 74a7b04 commit 75cd2f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@ on:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-latest

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -27,9 +19,7 @@ jobs:

- name: Build Package
run: make build_package

- uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3
with:
name: dist
path: ./dist/*.whl

path: ./dist/
2 changes: 1 addition & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
"${{ inputs.git_tag }}" \
--notes-file notes.md \
--title "${{ inputs.git_tag }} release" \
${{ inputs.dist_artifacts_path }}/*.yml
${{ inputs.dist_artifacts_path }}/*
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test:
# Run build
build_package:
@pip install .[build]
@python3 -m build
@python3 -m build --wheel

# Install package
install:
Expand Down

0 comments on commit 75cd2f3

Please sign in to comment.