Skip to content

Commit

Permalink
(#64) update CI
Browse files Browse the repository at this point in the history
fixes builds on GitHub actions
  • Loading branch information
nils-a committed May 22, 2024
1 parent 012e923 commit 599a4fa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 10 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,21 @@ jobs:
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
#- name: Build project
# uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
# with:
# script-path: recipe.cake
# target: CI
# cake-version: tool-manifest
- name: Build project
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
with:
script-path: recipe.cake
target: CI
cake-version: 0.32.1
if: runner.os == 'Windows'
run: |
./build.ps1 -Target build
- name: Build project
if: runner.os != 'Windows'
run: |
./build.sh -Target build
- name: Upload Issues
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
with:
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,20 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

#- name: Build project
# uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
# with:
# script-path: recipe.cake
# target: DotNetCore-Build
# cake-version: 0.32.1
- name: Build project
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
with:
script-path: recipe.cake
target: DotNetCore-Build
cake-version: 0.32.1
if: runner.os == 'Windows'
run: |
./build.ps1 -Target DotNetCore-Build
- name: Build project
if: runner.os != 'Windows'
run: |
./build.sh -Target DotNetCore-Build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3

0 comments on commit 599a4fa

Please sign in to comment.