Skip to content

Commit

Permalink
Upgrade GHA uses
Browse files Browse the repository at this point in the history
  • Loading branch information
bbayles committed May 6, 2024
1 parent 1c0f2a2 commit ff3af9e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ on:
types:
- published

env:
PIP_BREAK_SYSTEM_PACKAGES: 1

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -31,26 +28,26 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: make requirements
- name: Set up QEMU # Needed to build aarch64 wheels
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: all
- uses: pypa/cibuildwheel@v2.16.5
- uses: actions/upload-artifact@v3
- uses: pypa/cibuildwheel@v2.17.0
- uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl

make_sdist:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
make requirements
python -m build --no-isolation --sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand All @@ -62,7 +59,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down

0 comments on commit ff3af9e

Please sign in to comment.