From 45a3378da57566bd297fd9f2dab827e7c90b9394 Mon Sep 17 00:00:00 2001 From: williamhCode Date: Tue, 29 Oct 2024 05:48:57 -0400 Subject: [PATCH] fix naming stuff --- .github/workflows/build.yml | 4 +++- CmakeLists.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ccf8153..8261a64 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,9 +13,11 @@ jobs: os: [macos-latest, macos-13] include: - os: macos-latest + os-name: macos arch: arm64 - os: macos-13 + os-name: macos arch: x86 runs-on: ${{ matrix.os }} @@ -56,5 +58,5 @@ jobs: - name: Upload build artifacts uses: actions/upload-artifact@v4 with: - name: Neogurt-${{ matrix.arch }}.dmg + name: Neogurt-${{ matrix.os-name }}-${{ matrix.arch }} path: build/release/*.dmg diff --git a/CmakeLists.txt b/CmakeLists.txt index e95df24..dc8f3eb 100644 --- a/CmakeLists.txt +++ b/CmakeLists.txt @@ -168,6 +168,7 @@ if (CMAKE_BUILD_TYPE MATCHES RelWithDebInfo) ") set(CPACK_GENERATOR DragNDrop) + set(CPACK_PACKAGE_FILE_NAME "Neogurt-${PROJECT_VERSION}-${CMAKE_HOST_SYSTEM_PROCESSOR}") include(CPack) endif() endif()