forked from fluentassertions/fluentassertions
-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (39 loc) · 894 Bytes
/
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
46
47
48
name: build
on:
pull_request:
paths-ignore:
- docs/**
push:
paths-ignore:
- docs/**
jobs:
build:
runs-on: windows-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
2.1.x
3.1.x
6.0.x
- name: Run NUKE
run: ./build.ps1
env:
BranchSpec: ${{ github.ref }}
BuildNumber: ${{ github.run_number }}
ApiKey: ${{ secrets.NUGETAPIKEY }}
- name: coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: TestResults/reports/lcov.info
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: ./Artifacts/*