Bump dependencies #363
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: ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
env: | |
Cake_Settings_EnableScriptCache: true | |
Cake_Settings_ShowProcessCommandLine: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
DOTNET_NOLOGO: true | |
DOTNET_ROLL_FORWARD: Major | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages | |
jobs: | |
build-docker: | |
needs: [ build-linux, build-mac, build-windows ] | |
runs-on: ubuntu-latest | |
container: dockfool/cake-docker:latest | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
filter: tree:0 | |
show-progress: false | |
- name: Cache packages | |
uses: actions/[email protected] | |
with: | |
path: ${{ env.NUGET_PACKAGES }} | |
key: ${{ runner.os }}-nuget-${{ hashFiles('.config/dotnet-tools.json', '**/packages.lock.json') }} | |
restore-keys: ${{ runner.os }}-nuget- | |
- name: Cake build | |
run: dotnet tool restore && dotnet cake --verbosity=verbose --publish=true | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
filter: tree:0 | |
show-progress: false | |
- name: Install dotnet | |
uses: actions/[email protected] | |
with: | |
# renovate: datasource=dotnet depName=dotnet-sdk | |
dotnet-version: 8.0.403 | |
- name: Cache packages | |
uses: actions/[email protected] | |
with: | |
path: ${{ env.NUGET_PACKAGES }} | |
key: ${{ runner.os }}-nuget-${{ hashFiles('.config/dotnet-tools.json', '**/packages.lock.json') }} | |
restore-keys: ${{ runner.os }}-nuget- | |
- name: Cake build | |
run: dotnet tool restore && dotnet cake --verbosity=verbose | |
build-mac: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
filter: tree:0 | |
show-progress: false | |
- name: Install dotnet | |
uses: actions/[email protected] | |
with: | |
# renovate: datasource=dotnet depName=dotnet-sdk | |
dotnet-version: 8.0.403 | |
- name: Cache packages | |
uses: actions/[email protected] | |
with: | |
path: ${{ env.NUGET_PACKAGES }} | |
key: ${{ runner.os }}-nuget-${{ hashFiles('.config/dotnet-tools.json', '**/packages.lock.json') }} | |
restore-keys: ${{ runner.os }}-nuget- | |
- name: Cake build | |
run: dotnet tool restore && dotnet cake --verbosity=verbose | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
filter: tree:0 | |
show-progress: false | |
- name: Install dotnet | |
uses: actions/[email protected] | |
with: | |
# renovate: datasource=dotnet depName=dotnet-sdk | |
dotnet-version: 8.0.403 | |
- name: Cache packages | |
uses: actions/[email protected] | |
with: | |
path: ${{ env.NUGET_PACKAGES }} | |
key: ${{ runner.os }}-nuget-${{ hashFiles('.config/dotnet-tools.json', '**/packages.lock.json') }} | |
restore-keys: ${{ runner.os }}-nuget- | |
- name: Cake build | |
run: dotnet tool restore && dotnet cake --verbosity=verbose |