1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00

CI: fix artifacts conflict

Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
This commit is contained in:
The Tumultuous Unicorn Of Darkness 2024-04-28 14:15:58 +02:00
parent e965155651
commit c0578a875c
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A

View file

@ -62,5 +62,24 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.platform.name }}
name: ${{ matrix.platform.name }}-${{ matrix.config }}
path: installdir/*
merge_win_artifacts:
name: Merge artifacts
runs-on: windows-latest
needs: build_win
strategy:
matrix:
platform:
- win32
- win64
steps:
- name: Merge artifacts for ${{ matrix.platform }}
uses: actions/upload-artifact/merge@v4
with:
name: ${{ matrix.platform }}
pattern: ${{ matrix.platform }}-*
delete-merged: true