-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update project to .NET 8 Signed-off-by: Victor Chang <[email protected]>
- Loading branch information
Showing
18 changed files
with
1,078 additions
and
581 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
fetch-depth: 0 | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
|
||
- name: Enable Homebrew | ||
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH | ||
|
@@ -102,7 +102,7 @@ jobs: | |
|
||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
|
||
- name: Enable NuGet cache | ||
uses: actions/[email protected] | ||
|
@@ -146,7 +146,7 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
run: find ~+ -type f -name "*.Test.csproj" | xargs -L1 dotnet test -c ${{ env.BUILD_CONFIG }} -v=minimal -r "${{ env.TEST_RESULTS }}" --collect:"XPlat Code Coverage" --settings coverlet.runsettings | ||
run: find ~+ -type f -name "*.Tests.csproj" | xargs -L1 dotnet test -c ${{ env.BUILD_CONFIG }} -v=minimal --results-directory "${{ env.TEST_RESULTS }}" --collect:"XPlat Code Coverage" --settings coverlet.runsettings | ||
working-directory: ./src | ||
|
||
- name: Stop docker-compose | ||
|
@@ -163,7 +163,7 @@ jobs: | |
- uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
directory: "src/${{ env.TEST_RESULTS }}" | ||
directory: "src/" | ||
files: "**/coverage.opencover.xml" | ||
flags: unittests | ||
name: codecov-umbrella | ||
|
@@ -195,7 +195,7 @@ jobs: | |
|
||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
|
||
- name: Enable NuGet cache | ||
uses: actions/[email protected] | ||
|
@@ -275,7 +275,7 @@ jobs: | |
env: | ||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
source-url: https://nuget.pkg.github.com/Project-MONAI/index.json | ||
|
||
- name: Publish to GitHub | ||
|
@@ -300,7 +300,7 @@ jobs: | |
env: | ||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
source-url: https://nuget.pkg.github.com/Project-MONAI/index.json | ||
|
||
- name: Publish to GitHub | ||
|
Oops, something went wrong.