-
-
Notifications
You must be signed in to change notification settings - Fork 160
38 lines (36 loc) · 863 Bytes
/
ci.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
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.x
8.x
- name: List dotnet sdks
run: dotnet --info
- name: Cache tools, ~/.nuget/packages
uses: actions/cache@v2
with:
path: |
tools
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
- name: Run the Cake script
uses: cake-build/cake-action@v1
with:
cake-version: tool-manifest
verbosity: Normal
script-path: build.cake
target: Default