Skip to content

Commit

Permalink
Merge pull request #158 from nils-a/feature/GH-155
Browse files Browse the repository at this point in the history
(#155) bumped Cake.Core to v2.0.0
  • Loading branch information
devlead committed Dec 13, 2021
2 parents 85395d9 + 0033200 commit 8599fc2
Show file tree
Hide file tree
Showing 15 changed files with 382 additions and 555 deletions.
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "2.0.0",
"commands": [
"dotnet-cake"
]
}
}
}
41 changes: 17 additions & 24 deletions .github/workflows/build.yml
Expand Up @@ -14,39 +14,32 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-latest, macos-latest]
os: [ubuntu-18.04, ubuntu-latest, macos-latest, windows-2019, windows-2022]
steps:
- name: Get the sources
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install .NET SDKs
uses: actions/setup-dotnet@v1.9.0
- name: Install .NET Core SDK 3.1.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
dotnet-version: '3.1.x'

- if: matrix.os == 'windows-latest'
name: Run Cake script Windows
run: |
./build.ps1
- if: matrix.os != 'windows-latest'
name: Run Cake script Posix
run: |
./build.sh
- name: Install .NET Core SDK 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'

- name: Upload Artifacts
uses: actions/upload-artifact@v2
- name: Install .NET Core SDK (global.json)
uses: actions/setup-dotnet@v1
with:
name: artifacts
path: artifacts
include-prerelease: 'true'

- name: Upload NuGet Package
uses: actions/upload-artifact@v2
- name: Run Cake script
uses: cake-build/cake-action@v1
env:
matrix-os: ${{ matrix.os }}
with:
name: nuget
path: nuget
target: GitHubActions
cake-version: tool-manifest
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -11,7 +11,7 @@ osx_image: xcode11.2
mono:
- 5.12.0

dotnet: 5.0.102
dotnet: 6.0.100

before_install:
- git fetch --unshallow # Travis always does a shallow clone, but GitVersion needs the full history including branches and tags
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -3,7 +3,7 @@ os: Visual Studio 2022

# Build script
build_script:
- ps: .\build.ps1 -Target AppVeyor
- ps: .\build.ps1 --target AppVeyor

# Tests
test: off

0 comments on commit 8599fc2

Please sign in to comment.