From 8d5153220eb242b778b6415abd09f56f085e2b32 Mon Sep 17 00:00:00 2001 From: Dorin Date: Thu, 13 Aug 2026 13:04:55 +0300 Subject: [PATCH 01/11] fix windows version, add no_vcpkg build in matrix --- .github/workflows/cmake.yml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 8e64693..9b8940e 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -28,13 +28,17 @@ jobs: # - Multiple platforms (Windows, Linux, macOS) # - Multiple compilers (cl, gcc, clang) # - Multiple library types (static, shared) + # windows-latest now floats to Windows Server 2025 / Visual Studio 2026 (MSVC v14.50+). + # Pin to windows-2022 to guarantee MSVC 2022 (toolset v14.38+), which is what Unreal 5.8 + # requires at minimum and what "cl" builds here need to stay ABI-compatible with. matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-latest, windows-2022, macOS-latest] build_type: ${{ fromJSON(format('[{0}]', inputs.build_type || '"Debug","Release"')) }} c_compiler: [gcc, clang, cl] lib_type: [static, shared] + dependency_mode: [default, no_vcpkg_no_curl] include: - - os: windows-latest + - os: windows-2022 c_compiler: cl cpp_compiler: cl - os: ubuntu-latest @@ -47,9 +51,9 @@ jobs: c_compiler: clang cpp_compiler: clang++ exclude: - - os: windows-latest + - os: windows-2022 c_compiler: gcc - - os: windows-latest + - os: windows-2022 c_compiler: clang - os: ubuntu-latest c_compiler: cl @@ -72,7 +76,7 @@ jobs: # Map OS to platform if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then echo "platform=linux_x64" >> "$GITHUB_OUTPUT" - elif [ "${{ matrix.os }}" == "windows-latest" ]; then + elif [ "${{ matrix.os }}" == "windows-2022" ]; then echo "platform=win64" >> "$GITHUB_OUTPUT" elif [ "${{ matrix.os }}" == "macOS-latest" ]; then echo "platform=osx" >> "$GITHUB_OUTPUT" @@ -124,18 +128,23 @@ jobs: if [ "${{ matrix.lib_type }}" == "shared" ]; then SHARED_FLAG="--shared" fi - + + DEPENDENCY_FLAGS="" + if [ "${{ matrix.dependency_mode }}" == "no_vcpkg_no_curl" ]; then + DEPENDENCY_FLAGS="--no_vcpkg --no_curl" + fi + if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then - python setup.py --platform ${{ steps.strings.outputs.platform }} --compiler ${{ matrix.c_compiler }} --cfg ${{ matrix.build_type }} $SHARED_FLAG --build --test + python setup.py --platform ${{ steps.strings.outputs.platform }} --compiler ${{ matrix.c_compiler }} --cfg ${{ matrix.build_type }} $SHARED_FLAG $DEPENDENCY_FLAGS --build --test else - python setup.py --platform ${{ steps.strings.outputs.platform }} --cfg ${{ matrix.build_type }} $SHARED_FLAG --build --test + python setup.py --platform ${{ steps.strings.outputs.platform }} --cfg ${{ matrix.build_type }} $SHARED_FLAG $DEPENDENCY_FLAGS --build --test fi - name: Upload Build Artifact if: ${{ inputs.upload_artifacts && success() }} uses: actions/upload-artifact@v4 with: - name: ga-cpp-sdk-${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}-${{ matrix.lib_type }} + name: ga-cpp-sdk-${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}-${{ matrix.lib_type }}-${{ matrix.dependency_mode }} path: ${{ steps.strings.outputs.build-output-dir }}/package/ retention-days: 3 From bdfe304e3783bd8eba40264af24519f493b12be5 Mon Sep 17 00:00:00 2001 From: Dorin Date: Thu, 13 Aug 2026 13:05:14 +0300 Subject: [PATCH 02/11] MD build for windows --- CMakeLists.txt | 6 +----- setup.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2de1e94..52a5c52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,11 +167,7 @@ endif() if(WIN32) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGUID_WINDOWS") - if(${GA_SHARED_LIB}) - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") - else() - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") - endif() + set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") if(${GA_UWP_BUILD}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGA_UWP_BUILD") diff --git a/setup.py b/setup.py index b5402a6..2fdc31f 100644 --- a/setup.py +++ b/setup.py @@ -103,7 +103,7 @@ def main(): # match CMAKE_MSVC_RUNTIME_LIBRARY: /MD shared, /MT static if args.platform.startswith('win'): - triplet = f'{arch}-windows-static-md' if args.shared else f'{arch}-windows-static' + triplet = f'{arch}-windows-static-md' if args.platform == 'osx': osx_arch = arch if arch == 'arm64' else 'x86_64' # no official universal triplet for osx vcpkg From ae686edbba3441dc209f4e4a3df3a8281b512e8a Mon Sep 17 00:00:00 2001 From: Dorin Date: Thu, 13 Aug 2026 14:01:06 +0300 Subject: [PATCH 03/11] add no_vcpkg builds --- .github/workflows/build.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 04eb3f5..481e034 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,20 @@ on: pull_request: branches: ['main'] # Trigger on pull requests to main workflow_dispatch: # Allow manual triggering of workflow + inputs: + build_type: + description: 'Build type(s) as a quoted JSON array, e.g. "Debug","Release"' + required: false + type: string + upload_artifacts: + description: 'Whether to upload build artifacts' + required: false + type: boolean + default: false jobs: build: uses: ./.github/workflows/cmake.yml with: - build_type: ${{ (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') && '"Debug","Release"' || '"Debug"' }} - upload_artifacts: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' }} \ No newline at end of file + build_type: ${{ (github.event_name == 'workflow_dispatch' && inputs.build_type) || ((github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') && '"Debug","Release"') || '"Debug"' }} + upload_artifacts: ${{ (github.event_name == 'workflow_dispatch' && inputs.upload_artifacts) || (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') }} \ No newline at end of file From b54e56961764d193a7ce75a99a7dad927fbf2023 Mon Sep 17 00:00:00 2001 From: Dorin Date: Thu, 13 Aug 2026 15:12:25 +0300 Subject: [PATCH 04/11] skip vcpkg install for no curl builds --- .github/workflows/cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 9b8940e..9566e30 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -104,7 +104,7 @@ jobs: ldd --version - name: Install vcpkg (Linux/macOS) - if: runner.os != 'Windows' + if: runner.os != 'Windows' && matrix.dependency_mode != 'no_vcpkg_no_curl' shell: bash run: | git clone https://github.com/microsoft/vcpkg.git "$HOME/vcpkg" @@ -113,7 +113,7 @@ jobs: echo "$HOME/vcpkg" >> "$GITHUB_PATH" - name: Install vcpkg (Windows) - if: runner.os == 'Windows' + if: runner.os == 'Windows' && matrix.dependency_mode != 'no_vcpkg_no_curl' shell: pwsh run: | git clone https://github.com/microsoft/vcpkg.git "$env:USERPROFILE\vcpkg" From 29a60cd1bf39a6eb4048c5a4131d29c57639b8fd Mon Sep 17 00:00:00 2001 From: Dorin Date: Thu, 13 Aug 2026 15:40:23 +0300 Subject: [PATCH 05/11] do not use vcpkg cmake for no_vcpkg builds --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2fdc31f..53de8e8 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,9 @@ def main(): if args.no_curl: cmake_command += ' -DGA_HTTP_USE_CURL=OFF' - if not args.no_vcpkg: + if args.no_vcpkg: + cmake_command += ' -DUSE_VCPKG=OFF' + else: if args.platform.startswith('linux'): platform = 'linux' From dd02275cba599a86cc7b7fab20aca3fc17c39cbe Mon Sep 17 00:00:00 2001 From: Andrei Dabija Date: Thu, 13 Aug 2026 16:45:31 +0300 Subject: [PATCH 06/11] Validate dispatch build_type via choice input, explicit macOS archs for no_vcpkg, drop unused win32/uwp platforms --- .github/workflows/build.yml | 11 ++++++++--- setup.py | 5 +++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 481e034..e8c27ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,9 +9,14 @@ on: workflow_dispatch: # Allow manual triggering of workflow inputs: build_type: - description: 'Build type(s) as a quoted JSON array, e.g. "Debug","Release"' + description: 'Build type(s)' required: false - type: string + type: choice + options: + - Debug + - Release + - Debug + Release + default: Debug upload_artifacts: description: 'Whether to upload build artifacts' required: false @@ -22,5 +27,5 @@ jobs: build: uses: ./.github/workflows/cmake.yml with: - build_type: ${{ (github.event_name == 'workflow_dispatch' && inputs.build_type) || ((github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') && '"Debug","Release"') || '"Debug"' }} + build_type: ${{ (github.event_name == 'workflow_dispatch' && (inputs.build_type == 'Debug + Release' && '"Debug","Release"' || format('"{0}"', inputs.build_type))) || ((github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') && '"Debug","Release"') || '"Debug"' }} upload_artifacts: ${{ (github.event_name == 'workflow_dispatch' && inputs.upload_artifacts) || (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') }} \ No newline at end of file diff --git a/setup.py b/setup.py index 53de8e8..dc72b46 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ def get_compiler_for_platform(platform, compiler=None): def main(): parser = argparse.ArgumentParser(description="CMake Build and Test Script") - parser.add_argument('--platform', choices=['linux_x64', 'linux_x86', 'osx', 'win32', 'win64', 'uwp'], help='Platform to build for', required=True) + parser.add_argument('--platform', choices=['linux_x64', 'linux_x86', 'osx', 'win64'], help='Platform to build for', required=True) parser.add_argument('--cfg', default='Debug', choices=['Release', 'Debug'], help='Configuration Type') parser.add_argument('--compiler', choices=['gcc', 'clang'], help='Compiler to use (Linux only: gcc or clang, default=clang)') parser.add_argument('--shared', action='store_true', help='Build shared library instead of static') @@ -84,6 +84,8 @@ def main(): if args.no_vcpkg: cmake_command += ' -DUSE_VCPKG=OFF' + if args.platform == 'osx': + cmake_command += ' "-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"' else: if args.platform.startswith('linux'): @@ -103,7 +105,6 @@ def main(): triplet = f'{arch}-{platform}' - # match CMAKE_MSVC_RUNTIME_LIBRARY: /MD shared, /MT static if args.platform.startswith('win'): triplet = f'{arch}-windows-static-md' From 6188e9b838f1c65a14d17478b0431e888bf8c2b7 Mon Sep 17 00:00:00 2001 From: Andrei Dabija Date: Thu, 13 Aug 2026 16:56:56 +0300 Subject: [PATCH 07/11] Limit no_vcpkg_no_curl builds to static lib_type , Map platform from runner.os instead of runner labels --- .github/workflows/cmake.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 9566e30..f7b2ab1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -61,6 +61,8 @@ jobs: c_compiler: cl - os: macOS-latest c_compiler: gcc + - lib_type: shared + dependency_mode: no_vcpkg_no_curl steps: - uses: actions/checkout@v6 @@ -74,11 +76,11 @@ jobs: run: | echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" # Map OS to platform - if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then + if [ "${{ runner.os }}" == "Linux" ]; then echo "platform=linux_x64" >> "$GITHUB_OUTPUT" - elif [ "${{ matrix.os }}" == "windows-2022" ]; then + elif [ "${{ runner.os }}" == "Windows" ]; then echo "platform=win64" >> "$GITHUB_OUTPUT" - elif [ "${{ matrix.os }}" == "macOS-latest" ]; then + elif [ "${{ runner.os }}" == "macOS" ]; then echo "platform=osx" >> "$GITHUB_OUTPUT" fi From c7fa22a11f5d00a323119c165a12d88cbbb8973e Mon Sep 17 00:00:00 2001 From: Andrei Dabija Date: Thu, 13 Aug 2026 17:03:20 +0300 Subject: [PATCH 08/11] update changelog to specify /MT to /MD change for static lib binaries --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e1f17e..5ba510b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - **Remote configs listener in the C API** — New `gameAnalytics_configureRemoteConfigsListener()` with `GARemoteConfigsListener` callback, making remote configs notifications usable from managed runtimes (e.g. Unity P/Invoke). Single listener; re-registering replaces it, `NULL` unregisters. +### Changed + +- **Windows: static builds now use the dynamic MSVC runtime (`/MD`)** — All Windows builds (static and shared) now compile against the DLL runtime instead of `/MT` for static builds, matching what Unreal Engine and most consumers require. **Breaking for consumers linking the static library with `/MT`**: upgrading will produce an LNK2038 RuntimeLibrary mismatch; switch your project to `/MD` (`MultiThreadedDLL`). + ## 5.2.0 ### Added From da6f3f1943940f13b5d416f19a4cec908f68acd3 Mon Sep 17 00:00:00 2001 From: Andrei Dabija Date: Thu, 13 Aug 2026 17:04:01 +0300 Subject: [PATCH 09/11] Rename dependency mode to no_deps and ship no-deps static libs in releases --- .github/workflows/cmake.yml | 10 +++---- .github/workflows/create_release.yml | 40 ++++++++++++++++++++++------ 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f7b2ab1..e802171 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -36,7 +36,7 @@ jobs: build_type: ${{ fromJSON(format('[{0}]', inputs.build_type || '"Debug","Release"')) }} c_compiler: [gcc, clang, cl] lib_type: [static, shared] - dependency_mode: [default, no_vcpkg_no_curl] + dependency_mode: [default, no_deps] include: - os: windows-2022 c_compiler: cl @@ -62,7 +62,7 @@ jobs: - os: macOS-latest c_compiler: gcc - lib_type: shared - dependency_mode: no_vcpkg_no_curl + dependency_mode: no_deps steps: - uses: actions/checkout@v6 @@ -106,7 +106,7 @@ jobs: ldd --version - name: Install vcpkg (Linux/macOS) - if: runner.os != 'Windows' && matrix.dependency_mode != 'no_vcpkg_no_curl' + if: runner.os != 'Windows' && matrix.dependency_mode != 'no_deps' shell: bash run: | git clone https://github.com/microsoft/vcpkg.git "$HOME/vcpkg" @@ -115,7 +115,7 @@ jobs: echo "$HOME/vcpkg" >> "$GITHUB_PATH" - name: Install vcpkg (Windows) - if: runner.os == 'Windows' && matrix.dependency_mode != 'no_vcpkg_no_curl' + if: runner.os == 'Windows' && matrix.dependency_mode != 'no_deps' shell: pwsh run: | git clone https://github.com/microsoft/vcpkg.git "$env:USERPROFILE\vcpkg" @@ -132,7 +132,7 @@ jobs: fi DEPENDENCY_FLAGS="" - if [ "${{ matrix.dependency_mode }}" == "no_vcpkg_no_curl" ]; then + if [ "${{ matrix.dependency_mode }}" == "no_deps" ]; then DEPENDENCY_FLAGS="--no_vcpkg --no_curl" fi diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index b5c40b2..f614397 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -44,24 +44,26 @@ jobs: - name: Organize release files run: | - # Create separate directories for static and shared libraries + # Create separate directories for static, shared and no-deps static libraries mkdir -p ./static-release/include mkdir -p ./shared-release/include - + mkdir -p ./static-no-deps-release/include + # Copy include directory from any artifact (they're all identical) FIRST_ARTIFACT=$(find ./release-artifacts -mindepth 1 -maxdepth 1 -type d | head -n 1) cp -r $FIRST_ARTIFACT/include/* ./static-release/include/ cp -r $FIRST_ARTIFACT/include/* ./shared-release/include/ + cp -r $FIRST_ARTIFACT/include/* ./static-no-deps-release/include/ # Copy GameAnalyticsExtern.h for shared library release cp ./source/gameanalytics/GameAnalyticsExtern.h ./shared-release/include/GameAnalytics/ # Process static library artifacts - for artifact_dir in ./release-artifacts/*-static; do + for artifact_dir in ./release-artifacts/*-static-default; do artifact_name=$(basename $artifact_dir) - # Extract platform info (remove ga-cpp-sdk- prefix and -static suffix) + # Extract platform info (remove ga-cpp-sdk- prefix and -static-default suffix) platform_info=${artifact_name#ga-cpp-sdk-} - platform_info=${platform_info%-static} + platform_info=${platform_info%-static-default} mkdir -p ./static-release/$platform_info @@ -74,11 +76,11 @@ jobs: done # Process shared library artifacts - for artifact_dir in ./release-artifacts/*-shared; do + for artifact_dir in ./release-artifacts/*-shared-default; do artifact_name=$(basename $artifact_dir) - # Extract platform info (remove ga-cpp-sdk- prefix and -shared suffix) + # Extract platform info (remove ga-cpp-sdk- prefix and -shared-default suffix) platform_info=${artifact_name#ga-cpp-sdk-} - platform_info=${platform_info%-shared} + platform_info=${platform_info%-shared-default} mkdir -p ./shared-release/$platform_info @@ -92,9 +94,27 @@ jobs: fi done + # Process no-deps static library artifacts (no vcpkg/curl, custom HTTP client required) + for artifact_dir in ./release-artifacts/*-static-no_deps; do + artifact_name=$(basename $artifact_dir) + # Extract platform info (remove ga-cpp-sdk- prefix and -static-no_deps suffix) + platform_info=${artifact_name#ga-cpp-sdk-} + platform_info=${platform_info%-static-no_deps} + + mkdir -p ./static-no-deps-release/$platform_info + + # Copy static libraries + if [[ $artifact_name == *"windows"* ]]; then + cp $artifact_dir/*.lib ./static-no-deps-release/$platform_info/ 2>/dev/null || true + else + cp $artifact_dir/*.a ./static-no-deps-release/$platform_info/ 2>/dev/null || true + fi + done + # Create zip archives zip -r ga-sdk-static-${{ inputs.tag_name }}.zip ./static-release zip -r ga-sdk-shared-${{ inputs.tag_name }}.zip ./shared-release + zip -r ga-sdk-static-no-deps-${{ inputs.tag_name }}.zip ./static-no-deps-release - name: Show organized release files run: | @@ -103,6 +123,9 @@ jobs: echo "" echo "=== Shared Libraries ===" tree ./shared-release || ls -R ./shared-release + echo "" + echo "=== Static Libraries (no dependencies) ===" + tree ./static-no-deps-release || ls -R ./static-no-deps-release - name: Create release uses: softprops/action-gh-release@v2.0.8 @@ -114,3 +137,4 @@ jobs: files: | ga-sdk-static-${{ inputs.tag_name }}.zip ga-sdk-shared-${{ inputs.tag_name }}.zip + ga-sdk-static-no-deps-${{ inputs.tag_name }}.zip From 2c4734d74200e1a9f8739de41f5a69d6fde92d45 Mon Sep 17 00:00:00 2001 From: Andrei Dabija Date: Thu, 13 Aug 2026 17:12:07 +0300 Subject: [PATCH 10/11] update ci actions to get rid of node.js warnings --- .github/workflows/cmake.yml | 2 +- .github/workflows/create_release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index e802171..c9a951a 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -144,7 +144,7 @@ jobs: - name: Upload Build Artifact if: ${{ inputs.upload_artifacts && success() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ga-cpp-sdk-${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}-${{ matrix.lib_type }}-${{ matrix.dependency_mode }} path: ${{ steps.strings.outputs.build-output-dir }}/package/ diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index f614397..a7d5170 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -38,7 +38,7 @@ jobs: git push origin ${{ inputs.tag_name }} - name: Download Artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: path: ./release-artifacts From 59bbe6a7df5bd82096d6f0c97b2e0b0ffb08be34 Mon Sep 17 00:00:00 2001 From: Andrei Dabija Date: Thu, 13 Aug 2026 17:27:23 +0300 Subject: [PATCH 11/11] bump github actions to latest --- .github/workflows/cmake.yml | 2 +- .github/workflows/create_release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index c9a951a..21e6345 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -144,7 +144,7 @@ jobs: - name: Upload Build Artifact if: ${{ inputs.upload_artifacts && success() }} - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: ga-cpp-sdk-${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}-${{ matrix.lib_type }}-${{ matrix.dependency_mode }} path: ${{ steps.strings.outputs.build-output-dir }}/package/ diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index a7d5170..7f6ce0d 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -38,7 +38,7 @@ jobs: git push origin ${{ inputs.tag_name }} - name: Download Artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: path: ./release-artifacts