From ca242023d7405e15ed503d7a5c102ce2ad414b9c Mon Sep 17 00:00:00 2001 From: Matteo Cafasso Date: Tue, 4 Feb 2025 14:39:52 +0200 Subject: [PATCH] actions: only upload wheels `overwrite` configuration on `actions/upload-artifact` does not work as intended as it does not really "overwrite" a file but it first deletes it and then upload the new copy. Obviously, this does not work on parallel builds. If only devs would learn english... --- .github/workflows/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 7e9404c..c3d8d43 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -50,7 +50,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: windows-build - path: dist/ + path: dist/*.whl overwrite: true build-macos-intel: @@ -104,7 +104,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: macos-intel-build - path: dist/ + path: dist/*.whl overwrite: true build-macos-arm: @@ -158,7 +158,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: macos-arm-build - path: dist/ + path: dist/*.whl overwrite: true build-macos-universal: @@ -198,5 +198,5 @@ jobs: uses: actions/upload-artifact@v4 with: name: macos-universal-build - path: dist/ + path: dist/*.whl overwrite: true