Skip to content

Bump JetBrains.Annotations from 2023.2.0 to 2023.3.0 #74

Bump JetBrains.Annotations from 2023.2.0 to 2023.3.0

Bump JetBrains.Annotations from 2023.2.0 to 2023.3.0 #74

Workflow file for this run

name: Build
on:
push:
branches: main
pull_request:
release:
types:
- published
env:
# Disable the .NET logo in the console output.
DOTNET_NOLOGO: true
# Disable the .NET first time experience to skip caching NuGet packages and speed up the build.
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Disable sending .NET CLI telemetry to Microsoft.
DOTNET_CLI_TELEMETRY_OPTOUT: true
# Set the build number in MinVer.
MINVERBUILDMETADATA: build.${{github.run_number}}
jobs:
build:
name: Build-${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest] # , windows-latest, macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
fetch-depth: 0
- name: 'Git Fetch Tags'
run: git fetch --tags
shell: pwsh
- name: 'Install .NET SDK'
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
- name: 'Dotnet Tool Restore'
run: dotnet tool restore
shell: pwsh
- name: 'Dotnet Cake Build'
run: dotnet cake --target=Build
shell: pwsh
- name: 'Dotnet Cake Test'
run: dotnet cake --target=Test
shell: pwsh
- name: 'Dotnet Cake Pack'
run: dotnet cake --target=Pack
shell: pwsh
- name: 'Publish Artifacts'
uses: actions/upload-artifact@v2
with:
name: ${{matrix.os}}
path: './Artifacts/*'