Skip to content

Commit 4dc7aba

Browse files
committed
Fix package name on Linux
1 parent 577eb24 commit 4dc7aba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,15 +408,15 @@ jobs:
408408
if: matrix.options.package == 'YES'
409409
uses: actions/upload-artifact@v4
410410
with:
411-
name: KTX-Software-${{env.KTX_VERSION}}-${{matrix.options.platform}}-${{matrix.arch}}
411+
name: ${{ runner.os == 'Linux' && 'KTX-Software-${{env.KTX_VERSION}}-${{runner.os}}-${{matrix.arch}}' || 'KTX-Software-${{env.KTX_VERSION}}-${{matrix.options.platform}}-${{matrix.arch}}' }}
412412
path: ${{env.BUILD_DIR}}/KTX-Software-*-*
413413
compression-level: 0 # Installer already compressed.
414414

415415
- name: Upload artifact pyktx
416416
if: matrix.options.package == 'YES' && matrix.options.py == 'ON'
417417
uses: actions/upload-artifact@v4
418418
with:
419-
name: pyktx-${{env.KTX_VERSION}}-${{matrix.options.platform}}-${{matrix.arch}}
419+
name: ${{ runner.os == 'Linux' && 'pyktx-${{env.KTX_VERSION}}-${{runner.os}}-${{matrix.arch}}' || 'pyktx-${{env.KTX_VERSION}}-${{matrix.options.platform}}-${{matrix.arch}}' }}
420420
path: ${{env.BUILD_DIR}}/${{env.PYTHON_DIST_DIR}}
421421

422422
- name: Upload to Release

0 commit comments

Comments
 (0)