Skip to content

Commit b91afcd

Browse files
cfergeaupraveenkumar
authored andcommitted
workflows: Try to avoid possible artifact upload race
Sometimes upload of one of the Windows/macOS installers fail. This may be caused by a race condition if we try to upload at the same time the same artifact for 2 different Windows version. This commit tries to append the name of the OS to the artifact name to avoid this race.
1 parent 4ecb6cc commit b91afcd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/macos-installer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ jobs:
5050
- name: Upload macOS installer artifact
5151
uses: actions/upload-artifact@v2
5252
with:
53-
name: macOS Installer
53+
name: macOS Installer (${{ matrix.os }})
5454
path: "./out/macos-amd64/crc-macos-amd64.pkg"

.github/workflows/windows-installer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
- name: Upload windows installer artifact
3232
uses: actions/upload-artifact@v2
3333
with:
34-
name: Windows Installer
34+
name: Windows Installer (${{ matrix.os }})
3535
path: "./out/windows-amd64/crc-windows-installer.zip"

0 commit comments

Comments
 (0)