Skip to content

Commit 22eeb21

Browse files
committed
Improve GH Actions artifact naming
1 parent 02eba52 commit 22eeb21

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/geargrafx.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Archive binary
5252
uses: actions/upload-artifact@v4
5353
with:
54-
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-${{ matrix.os }}
54+
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-desktop-${{ matrix.os == 'ubuntu-24.04' && 'ubuntu24.04' || matrix.os == 'ubuntu-22.04' && 'ubuntu22.04' || matrix.os }}-x64
5555
path: artifact/*
5656
linux-clang:
5757
name: Linux (Clang/LLVM)
@@ -95,7 +95,7 @@ jobs:
9595
- name: Archive binary
9696
uses: actions/upload-artifact@v4
9797
with:
98-
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-libretro-linux
98+
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-libretro-linux-x64
9999
path: platforms/libretro/${{ env.NAME_LOWER }}_libretro.so
100100
macos:
101101
name: macOS
@@ -167,7 +167,7 @@ jobs:
167167
- name: Archive binary
168168
uses: actions/upload-artifact@v4
169169
with:
170-
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-macos-${{ matrix.architecture }}
170+
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-desktop-macos-${{ matrix.architecture == 'arm' && 'arm64' || 'intel' }}
171171
path: artifact/*
172172
windows:
173173
name: Windows
@@ -203,7 +203,7 @@ jobs:
203203
- name: Archive binary
204204
uses: actions/upload-artifact@v4
205205
with:
206-
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-windows-${{ matrix.architecture }}
206+
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-desktop-windows-${{ matrix.architecture }}
207207
path: artifact/*
208208
bsd:
209209
name: BSD
@@ -238,7 +238,7 @@ jobs:
238238
- name: Archive binary
239239
uses: actions/upload-artifact@v4
240240
with:
241-
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-bsd
241+
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-desktop-bsd-x64
242242
path: artifact/*
243243
mcpb:
244244
name: MCPB
@@ -266,7 +266,7 @@ jobs:
266266
- name: Download artifact
267267
uses: actions/download-artifact@v4
268268
with:
269-
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-${{ matrix.variant.platform == 'darwin' && format('macos-{0}', matrix.variant.architecture) || matrix.variant.platform == 'linux' && matrix.variant.os || format('windows-{0}', matrix.variant.architecture) }}
269+
name: ${{ env.NAME_UPPER }}-${{ env.BUILD_NUMBER }}-desktop-${{ matrix.variant.platform == 'darwin' && format('macos-{0}', matrix.variant.architecture == 'arm' && 'arm64' || 'intel') || matrix.variant.platform == 'linux' && format('{0}-x64', matrix.variant.os == 'ubuntu-24.04' && 'ubuntu24.04' || 'ubuntu22.04') || format('windows-{0}', matrix.variant.architecture) }}
270270
path: download
271271
- name: Prepare MCPB structure
272272
run: |

0 commit comments

Comments
 (0)