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