From 46aa6091ba226d43a796b4552cc39b775ff69ba4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 15 Jun 2024 12:46:19 +0100 Subject: Update upload-artifact action to v4 --- .github/workflows/build.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to '.github/workflows') 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-* -- cgit v1.2.3