enable lock files for dui3 #182
Workflow file for this run
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: .NET CI Build | |
on: | |
pull_request: # Run build on every pull request that is not to main/dev | |
branches-ignore: | |
- main | |
- dev | |
workflow_call: | |
outputs: | |
version: | |
value: ${{ jobs.build.outputs.version }} | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.2xx # Align with global.json (including roll forward rules) | |
- name: Cache Nuget | |
uses: actions/cache@v4 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: ⚒️ Run build | |
run: ./build.ps1 | |