From e9043065a6a559dcef4a58f4286ac8af3542731f Mon Sep 17 00:00:00 2001 From: JP-Ellis Date: Mon, 18 Dec 2023 09:36:07 +1100 Subject: [PATCH] chore(ci): breaking changes with for artifacts The `v4` of download/upload artifacts have some breaking changes. In particular, all artifacts must have different names now (i.e., it is no longer possible to append to the artifact). Omitting the artifact name for the download will match all artifacts from the pipeline. Signed-off-by: JP-Ellis --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49b48212a8..425cdef006 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,9 +47,10 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 with: - name: wheels + name: wheels-sdist path: ./dist/*.tar.* if-no-files-found: error + compression-level: 0 build-x86_64: name: Build wheels on ${{ matrix.os }} (x86, 64-bit) @@ -81,9 +82,10 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 with: - name: wheels + name: wheels-${{ matrix.os }}-${{ matrix.archs }} path: ./wheelhouse/*.whl if-no-files-found: error + compression-level: 0 build-arm64: name: Build wheels on ${{ matrix.os }} (arm64) @@ -122,9 +124,10 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4 with: - name: wheels + name: wheels-${{ matrix.os }}-${{ matrix.archs }} path: ./wheelhouse/*.whl if-no-files-found: error + compression-level: 0 check: name: Check wheels @@ -144,7 +147,6 @@ jobs: - uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4 with: - name: wheels path: wheelhouse - run: | @@ -166,7 +168,6 @@ jobs: steps: - uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4 with: - name: wheels path: wheels - name: Push build artifacts to PyPI