Skip to content

Commit

Permalink
build: .net8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
phmatray committed Nov 26, 2023
1 parent 654dc8f commit d675707
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- name: Run Unit Tests
run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage"
Expand All @@ -55,6 +57,8 @@ jobs:
# Install the .NET SDK indicated in the global.json file
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

# Create the NuGet package in the folder from the environment variable NuGetDirectory
- run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
Expand All @@ -74,6 +78,8 @@ jobs:
# Install the .NET SDK indicated in the global.json file
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

# Download the NuGet package created in the previous job
- uses: actions/download-artifact@v3
Expand All @@ -90,7 +96,6 @@ jobs:
# using the --excluded-rules or --excluded-rule-ids option
- name: Validate package
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")


update_release_draft:
permissions:
Expand Down

0 comments on commit d675707

Please sign in to comment.