From 75cd2f3d4d7a3ededf84fab674e032e114b645c0 Mon Sep 17 00:00:00 2001 From: alexiswl <8197659+alexiswl@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:16:06 +1100 Subject: [PATCH] Drop os matrix, all wheels are the same, fix github release upload --- .github/workflows/build_package.yml | 16 +++------------- .github/workflows/build_release.yml | 2 +- Makefile | 2 +- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml index 95fce76..b61ccf0 100644 --- a/.github/workflows/build_package.yml +++ b/.github/workflows/build_package.yml @@ -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 @@ -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/ \ No newline at end of file diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 583f935..01c2a0f 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -50,4 +50,4 @@ jobs: "${{ inputs.git_tag }}" \ --notes-file notes.md \ --title "${{ inputs.git_tag }} release" \ - ${{ inputs.dist_artifacts_path }}/*.yml \ No newline at end of file + ${{ inputs.dist_artifacts_path }}/* \ No newline at end of file diff --git a/Makefile b/Makefile index 8888670..6040324 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ test: # Run build build_package: @pip install .[build] - @python3 -m build + @python3 -m build --wheel # Install package install: