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:
parent
e965155651
commit
c0578a875c
1 changed files with 20 additions and 1 deletions
21
.github/workflows/windows.yml
vendored
21
.github/workflows/windows.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue