Skip to content

Commit

Permalink
Update ExcelDna-Unpack build process to use Cake v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoproiete committed Dec 12, 2021
1 parent a96535f commit cac892c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "1.3.0",
"version": "2.0.0",
"commands": [
"dotnet-cake"
]
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,21 @@ jobs:
fail-fast: false
matrix:
job:
- os: ubuntu-18.04
build: ./build.sh
- os: ubuntu-20.04
build: ./build.sh
- os: windows-2019
build: ./build.cmd
push: true
- os: windows-2022
build: ./build.cmd
- os: macos-10.15
build: ./build.sh
- os: macos-11
build: ./build.sh
name: ${{ matrix.job.os }}
runs-on: ${{ matrix.job.os }}
steps:
- name: Setup net5.0
- name: Install .NET SDKs
uses: actions/[email protected]
with:
dotnet-version: "5.0.401"
dotnet-version: |
3.1.415
5.0.403
6.0.100
- name: Run dotnet --info
run: dotnet --info
- uses: actions/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions build.cake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#tool "nuget:?package=NuGet.CommandLine&version=6.0.0"
#tool "nuget:?package=7-Zip.CommandLine&version=18.1.0"

#addin "nuget:?package=Cake.MinVer&version=1.0.1"
#addin "nuget:?package=Cake.Args&version=1.0.1"
#addin "nuget:?package=Cake.7zip&version=1.0.4"
#addin "nuget:?package=Cake.MinVer&version=2.0.0"
#addin "nuget:?package=Cake.Args&version=2.0.0"
#addin "nuget:?package=Cake.7zip&version=2.0.0"

var target = ArgumentOrDefault<string>("target") ?? "publish";
var buildVersion = MinVer(s => s.WithTagPrefix("v").WithDefaultPreReleasePhase("preview"));
Expand Down

0 comments on commit cac892c

Please sign in to comment.