Update github/codeql-action digest to babb554 #1080
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
paths-ignore: | |
- "README.md" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
#mimic "skip_branch_with_pr: true", see https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012/4 | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
strategy: | |
matrix: | |
os: [ ubuntu-22.04, windows-2022, macos-12 ] | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }} | |
MYGET_SOURCE: https://www.myget.org/F/nils-org/api/v2/package | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
NUGET_SOURCE: https://api.nuget.org/v3/index.json | |
GITHUB_USERNAME: nils-a | |
GITHUB_PASSWORD: ${{ secrets.GH_TOKEN }} | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Fetch all tags and branches | |
run: git fetch --prune --unshallow | |
- name: Cache Tools | |
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4 | |
with: | |
path: tools | |
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | |
- name: Install .NET | |
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 | |
with: | |
dotnet-version: | | |
3.1.x | |
5.0.x | |
6.0.x | |
7.0.x | |
- name: Build project | |
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1 | |
with: | |
script-path: recipe.cake | |
target: CI | |
cake-version: 1.3.0 | |
- name: Upload Issues-Report | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 | |
with: | |
if-no-files-found: warn | |
name: ${{ matrix.os }} issues | |
path: BuildArtifacts/report.html | |
- name: Upload Packages | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 | |
if: runner.os == 'Windows' | |
with: | |
if-no-files-found: warn | |
name: package | |
path: BuildArtifacts/Packages/**/* |