Skip to content

Commit

Permalink
(#22) Use the provided scripts
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nils-a committed Jul 14, 2024
1 parent 33458b3 commit a4dad8b
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a4dad8b

Please sign in to comment.