This commit is contained in:
Pax1601 2023-12-13 17:47:24 +01:00
commit cee6839b5d

View File

@ -3,12 +3,6 @@ name: Backend build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
SOLUTION_FILE_PATH: ./src/olympus.sln
BUILD_CONFIGURATION: Release
permissions:
contents: read
@ -23,18 +17,22 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Install packages and dependencies
- name: Setup vcpkg
run: |
bootstrap-vcpkg
vcpkg integrate install
- name: Setup Node.js
uses: actions/setup-node@v2
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
working-directory: .
run: "./build_package.bat"
shell: cmd
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: binaries
path: bin/*.dll
name: Installer
path: installer/Output/*.exe