From 75fbf407b5a62faaa152d6f8d819cca43cf38675 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Wed, 31 Jan 2024 22:34:53 -0500 Subject: [PATCH] Assign unique artifact name to each GitHub Actions job [actions/upload-artifact@v4](https://github.com/actions/upload-artifact) no longer supports multiple artifacts with the same name. --- .github/workflows/cibuildwheel.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index f476b77..f1e74fa 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -22,6 +22,7 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: source path: dist/* wheels: @@ -60,6 +61,7 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: ${{ matrix.os }} path: wheelhouse/* publish: @@ -72,6 +74,6 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: artifact + merge-multiple: true path: dist - uses: pypa/gh-action-pypi-publish@release/v1