From 6b31ba35fde27d483ca41e751a135643c1178071 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Sat, 9 Dec 2023 19:18:33 +0100 Subject: [PATCH] attempt to fix workflows to make release builds --- .github/workflows/linux.yml | 3 ++- .github/workflows/release.yml | 3 ++- .github/workflows/windows.yml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index aea5f18..9b7de8c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,6 +4,7 @@ on: [push] env: VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" + CMAKE_BUILD_TYPE: "Release" jobs: debian-11-build: @@ -147,4 +148,4 @@ jobs: - name: Test run: | chmod +x ./BeamMP-Server-tests - ./BeamMP-Server-tests \ No newline at end of file + ./BeamMP-Server-tests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b607a5..aa8ab5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,7 @@ on: env: VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" + CMAKE_BUILD_TYPE: "Release" jobs: create-release: @@ -165,4 +166,4 @@ jobs: upload_url: ${{ needs.create-release.outputs.upload_url }} asset_path: ./bin/BeamMP-Server.exe asset_name: BeamMP-Server.exe - asset_content_type: application/vnd.microsoft.portable-executable \ No newline at end of file + asset_content_type: application/vnd.microsoft.portable-executable diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c7e6450..bdb54b6 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -5,6 +5,7 @@ on: [push] env: VCPKG_DEFAULT_TRIPLET: x64-windows-static VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" + CMAKE_BUILD_TYPE: "Release" jobs: windows-build: