-
Notifications
You must be signed in to change notification settings - Fork 37
42 lines (34 loc) · 878 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
name: Build
on:
push:
branches:
- "master"
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
build_config: [Debug, Release]
steps:
- uses: actions/checkout@v2
- name: setup .net
uses: actions/setup-dotnet@v1
with:
dotnet-version: "3.1.x"
- name: setup .net
uses: actions/setup-dotnet@v1
with:
dotnet-version: "5.0.x"
- name: setup .net
uses: actions/setup-dotnet@v1
with:
dotnet-version: "6.0.x"
- name: restore cake tool
run: dotnet tool restore
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
- name: run build script
run: dotnet cake --configuration ${{ matrix.build_config }}