forked from Ingan121/AuthUX
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (31 loc) · 917 Bytes
/
Copy pathmsbuild.yml
File metadata and controls
40 lines (31 loc) · 917 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: [ "bsdr" ]
pull_request:
branches: [ "bsdr" ]
env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release.VB
BUILD_PLATFORM: x64
permissions:
contents: read
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet packages
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}}
- name: Upload AuthUX.dll
uses: actions/upload-artifact@v4
with:
name: AuthUX-${{env.BUILD_CONFIGURATION}}-${{env.BUILD_PLATFORM}}
path: ${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}}/AuthUX.dll
if-no-files-found: error