attempt to fix workflows to make release builds

This commit is contained in:
Lion Kortlepel 2023-12-09 19:18:33 +01:00
parent d2329f0723
commit 6b31ba35fd
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B
3 changed files with 5 additions and 2 deletions

View File

@ -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
./BeamMP-Server-tests

View File

@ -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
asset_content_type: application/vnd.microsoft.portable-executable

View File

@ -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: