-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (38 loc) · 1.03 KB
/
Copy pathbuild.yml
File metadata and controls
45 lines (38 loc) · 1.03 KB
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
41
42
43
44
45
name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allow manually triggering
workflow_dispatch:
jobs:
build:
runs-on: windows-2025-vs2026
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0 # Git Versioning requires a non-shallow clone
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: '10.x'
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v3
- name: Build
run: msbuild -property:Configuration=Release -property:Platform=x64 -bl:logs/msbuild.binlog
- name: Upload logs
uses: actions/upload-artifact@v7
with:
name: logs
path: ./logs
if: ${{ always() }} # Always run this step even on failure
- name: Upload artifacts
uses: actions/upload-artifact@v7
with:
name: artifacts
path: ./artifacts
if: ${{ always() }} # Always run this step even on failure