From a4dad8b95f347797fdcfaaddd664bb3b85ee7e5d Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Sun, 14 Jul 2024 22:26:43 +0200 Subject: [PATCH] (#22) Use the provided scripts instead of the dotnet tool. Using dotnet tool requires Cake.Recipe v2.x Also switched from "CI" target to the old "AppVeyor" target. The name was changed from AppVeyor to CI in Cake.Recipe 2.0.0 --- .github/workflows/build.yml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 021b64c..a23a4e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,14 +46,25 @@ jobs: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} +# - name: Build project +# uses: cake-build/cake-action@v1 +# with: +# script-path: recipe.cake +# target: CI +# verbosity: Normal +# cake-version: 0.38.5 +# cake-bootstrap: true + - name: Build project - uses: cake-build/cake-action@v1 - with: - script-path: recipe.cake - target: CI - verbosity: Normal - cake-version: 0.38.5 - cake-bootstrap: true + if: runner.os != 'Windows' + run: | + ./build.sh --bootstrap + ./build.sh --target=AppVeyor + - name: Build project + if: runner.os == 'Windows' + run: | + ./build.ps1 --bootstrap + ./build.ps1 --target=AppVeyor - name: Upload Issues-Report uses: actions/upload-artifact@v2 @@ -63,6 +74,7 @@ jobs: path: BuildArtifacts/report.html - name: Upload Packages + if: runner.os == 'Windows' uses: actions/upload-artifact@v2 with: if-no-files-found: warn