Move to net9.0 RTM #121
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: Code Validation | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore -bl | |
- name: Pack Solution | |
run: dotnet pack -p:PackageOutputPath="${GITHUB_WORKSPACE}/packages" -p:IncludeSymbols=false -p:RepositoryCommit=${GITHUB_SHA} -p:PackageVersion="0.0.0.1" | |
- name: Test | |
run: dotnet test --framework net8.0 --no-build --verbosity normal | |
- name: Upload Binary Log | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: binary-log | |
path: msbuild.binlog | |
- name: Upload Packages | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: nuget-packages | |
path: packages/* | |