-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (33 loc) · 938 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
name: Build (and release)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.11
- name: Get the sources
uses: actions/checkout@v3
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
6.0.x
7.0.x
- name: Run Cake script
uses: cake-build/cake-action@v1
with:
verbosity: Verbose
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN_SECURITYTXT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}