From 2fbe67e46f22da727b3cb0c708e1e2e2a3f0f75e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:17:07 +0000 Subject: [PATCH 1/2] build(deps): bump the ci group with 2 updates Bumps the ci group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/upload-artifact` from 3 to 4 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) Updates `actions/download-artifact` from 3 to 4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: ci - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: ci ... Signed-off-by: dependabot[bot] --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b8c582..bfd3903 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: run: | pipx run build --sdist --outdir=wheelhouse - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: python-wheels path: | @@ -52,7 +52,7 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: python-wheels path: dist From b1057d47c5644f9e3693cb44606c3e7cc37e587a Mon Sep 17 00:00:00 2001 From: gnikit Date: Tue, 2 Jan 2024 11:38:37 +0200 Subject: [PATCH 2/2] ci: workaround for dissallowing uploads to the same name --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfd3903..508eb7d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: python-wheels + name: python-wheels-${{ matrix.sys.os }}} path: | ./wheelhouse/*.whl ./wheelhouse/*.tar.gz @@ -54,8 +54,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: - name: python-wheels + pattern: python-wheels* path: dist + merge-multiple: true - name: Publish package if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')