-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from twenzel/UpdateProject
Update cake
- Loading branch information
Showing
9 changed files
with
109 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"cake.tool": { | ||
"version": "2.0.0", | ||
"commands": [ | ||
"dotnet-cake" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,42 @@ | ||
name: Build & Test | ||
|
||
on: [push, pull_request] | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- main | ||
tags: | ||
- "*" | ||
paths-ignore: | ||
- "README.md" | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-18.04, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup .NET Core | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Fetch all tags and branches | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.100 | ||
# gitversion needs 5.0 and we need all SDKs the project is targeting | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
- name: run cake | ||
uses: ecampidoglio/cake-action@v1.1.1 | ||
uses: ecampidoglio/cake-action@v1 | ||
with: | ||
target: Pack | ||
cake-version: 0.35.0 | ||
target: Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.