Skip to content
name: Build UoN.VersionInformation.DependencyInjection
on:
workflow_dispatch:
pull_request:
paths:
- src/UoN.VersionInformation.DependencyInjection/**
- .github/workflows/build.dependencyinjection.yml
env:
# Configure these
build-config: release
dotnet-version: 8.0.x
project: ./src/UoN.VersionInformation.DependencyInjection/UoN.VersionInformation.DependencyInjection.csproj
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.dotnet-version }}
- name: dotnet build
run: >-
dotnet build
${{ env.project }}
-c ${{ env.build-config }}