-
Notifications
You must be signed in to change notification settings - Fork 19
41 lines (31 loc) · 914 Bytes
/
main.yml
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
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Setup MSBuild Path
uses: microsoft/[email protected]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Build Debug
run: msbuild TameMyCerts\TameMyCerts.csproj -property:Configuration=debug
- name: Build ETW Manifest
run: msbuild Support.GenerateETWManifest\Support.GenerateETWManifest.csproj -property:Configuration=debug
- name: Save Build TameMyCerts
uses: actions/upload-artifact@v4
with:
name: build-TameMyCerts
path: TameMyCerts\bin\debug\net8.0-windows\