-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (32 loc) · 930 Bytes
/
msbuild.yml
File metadata and controls
40 lines (32 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: MSBuild
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
SOLUTION_FILE_PATH: ./Cheeto-Template.sln
BUILD_CONFIGURATION: Release
PLATFORM: x64
TARGET_DLL: Cheeto.dll
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4.2.2
with:
submodules: recursive
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
run: |
msbuild ${{ env.SOLUTION_FILE_PATH }} /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=${{ env.PLATFORM }} /verbosity:minimal /nologo
- name: Upload All Build Artifact
uses: actions/upload-artifact@v4.6.2
with:
name: build-artifact
path: |
./bin/${{ env.BUILD_CONFIGURATION}}-${{ env.PLATFORM }}/${{ env.TARGET_DLL }}
if-no-files-found: error