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.
This commit is contained in:
Martin Rieder 2024-07-14 22:07:46 +02:00 committed by GitHub
parent ccc9d0ebf8
commit c18e31140d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ jobs:
- name: Upload examples, demos, and tutorials - name: Upload examples, demos, and tutorials
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: examples-and-tutorials name: examples-and-tutorials-${{ matrix.os }}-${{ matrix.version }}
path: | path: |
examples/ examples/
tutorial/ tutorial/