diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-06-15 12:46:19 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-06-15 13:54:22 +0100 |
| commit | 46aa6091ba226d43a796b4552cc39b775ff69ba4 (patch) | |
| tree | 2149cdee06a5a02543a6dd901851760368f5a104 /.github | |
| parent | dc191ad82907263c8cda75fa79eb40c6b40a2f6f (diff) | |
Update upload-artifact action to v4
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4573ce..38e5f31 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,8 +62,9 @@ jobs: - name: Check metadata run: python -m twine check dist/* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: dist-sdist path: dist/*.tar.gz build_wheels_matrix: @@ -150,9 +151,10 @@ jobs: env: CIBW_ENVIRONMENT: ${{ runner.os == 'Windows' && matrix.arch == 'x86' && 'CC=i686-w64-mingw32-gcc.exe' || '' }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: steps.should-build-wheel.outputs.true with: + name: dist-wheel-${{ matrix.cibw-only }} path: ./wheelhouse/*.whl build_wheels_macosx_arm64: @@ -187,4 +189,14 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: dist-wheels-macos-arm64 path: ./wheelhouse/*.whl + + merge_dist_artifacts: + runs-on: ubuntu-latest + needs: [build_sdist, build_wheels, build_wheels_macosx_arm64] + steps: + - uses: actions/upload-artifact/merge@v4 + with: + name: dist + pattern: dist-* |
