Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#155) bumped Cake.Core to v2.0.0 #158

Merged
merged 2 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
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"
]
}
}
}
41 changes: 17 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading