-
Notifications
You must be signed in to change notification settings - Fork 11
60 lines (45 loc) · 1.67 KB
/
BuildRelease.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Compile and Upload Binaries
on:
workflow_dispatch
jobs:
build:
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
strategy:
matrix:
onsystem:
- 'x64-windows'
configuration: [Release]
env:
Solution_Name: ETWAnalyzer.sln
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Print .NET information
- name: Get .NET Information
run: dotnet --info
- name: Build Release
run: ${{ github.workspace }}\ETWAnalyzer\MakeRelease.cmd
- name: Upload .NET 8 Binaries
uses: actions/upload-artifact@v3
with:
name: Net8Binaries
path: ${{ github.workspace }}/bin/Release/ETWAnalyzer_Net8.zip
retention-days: 90
- name: Upload .NET 4.8 Binaries
uses: actions/upload-artifact@v3
with:
name: Net48Binaries
path: ${{ github.workspace }}/bin/Release/ETWAnalyzer_Net48.zip
retention-days: 90
- name: Upload Nuget Package
uses: actions/upload-artifact@v3
with:
name: ETWAnalyzer.nupkg
path: ${{ github.workspace }}/bin/Release/ETWAnalyzer*.nupkg
retention-days: 90