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 1bd56e1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-2022, ubuntu-22.04, macos-12 ]
os: [ windows-2022 ]

env:
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
Expand Down Expand Up @@ -61,12 +61,16 @@ 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
run: |
./build.ps1 -Target DotNetCore-Build
- name: Upload Issues
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
with:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: windows-2022

strategy:
fail-fast: false
Expand Down Expand Up @@ -56,12 +56,15 @@ 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: tool-manifest
- name: Build project
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
with:
script-path: recipe.cake
target: DotNetCore-Build
cake-version: 0.32.1
run: |
./build.ps1 -Target DotNetCore-Build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3

0 comments on commit 1bd56e1

Please sign in to comment.