From c18e31140d2085f27c31f104ea6560656e5def8d Mon Sep 17 00:00:00 2001 From: Martin Rieder <74277074+martinrieder@users.noreply.github.com> Date: Sun, 14 Jul 2024 22:07:46 +0200 Subject: [PATCH] Fix uploading artifacts Breaking change in upload-artifact@v4: Uploading to the same named Artifact multiple times. Due to how Artifacts are created in this new version, it is no longer possible to upload to the same named Artifact multiple times. You must either split the uploads into multiple Artifacts with different names, or only upload once. Otherwise you will encounter an error. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad0521d..d40903b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: - name: Upload examples, demos, and tutorials uses: actions/upload-artifact@v4 with: - name: examples-and-tutorials + name: examples-and-tutorials-${{ matrix.os }}-${{ matrix.version }} path: | examples/ tutorial/