-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (37 loc) · 1.01 KB
/
build.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
name: build
on:
- workflow_dispatch
- push
env:
BuildConfiguration: Release
BuildVersion: 1.20.0.${{ github.run_number }}
jobs:
build:
name: build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Run Build.ps1
run: >
./Build/Build.ps1
-Configuration "${{ env.BuildConfiguration }}"
-Version "${{ env.BuildVersion }}"
-BranchName "${{ github.ref_name }}"
-CoverageBadgeUploadToken "${{ secrets.COVERAGE_BADGE_UPLOAD_TOKEN }}"
- name: Upload Packages artifacts
uses: actions/upload-artifact@v3
with:
name: Packages
path: |
Build/Output/*.nupkg
Build/Output/*.zip
- name: Upload TestOutput artifacts
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: TestOutput
path: |
Build/Output/TestResults/**
Build/Output/TestCoverage/**