mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Update msbuild.yml
This commit is contained in:
parent
d1ccccae18
commit
3a96808aa5
19
.github/workflows/msbuild.yml
vendored
19
.github/workflows/msbuild.yml
vendored
@ -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,21 @@ 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
|
||||
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: binaries
|
||||
path: bin/*.dll
|
||||
name: Installer
|
||||
path: installer/Output/*.exe
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user