diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa1b7a1..2ba3299 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9d41c74..f750325 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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