Skip to content

Commit

Permalink
CI: fix artifacts conflict
Browse files Browse the repository at this point in the history
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
  • Loading branch information
TheTumultuousUnicornOfDarkness committed Apr 28, 2024
1 parent e965155 commit c0578a8
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c0578a8

Please sign in to comment.