Skip to content

Commit 6fb82bf

Browse files
authored
Release 2.0.0 (#273)
+semver: major * Update project to .NET 8 (#270) Signed-off-by: Victor Chang <[email protected]>
1 parent 565afc5 commit 6fb82bf

19 files changed

+1087
-584
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fetch-depth: 0
4242
- uses: actions/setup-dotnet@v3
4343
with:
44-
dotnet-version: "6.0.x"
44+
dotnet-version: "8.0.x"
4545

4646
- name: Enable Homebrew
4747
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
@@ -102,7 +102,7 @@ jobs:
102102

103103
- uses: actions/setup-dotnet@v3
104104
with:
105-
dotnet-version: "6.0.x"
105+
dotnet-version: "8.0.x"
106106

107107
- name: Enable NuGet cache
108108
uses: actions/[email protected]
@@ -146,7 +146,7 @@ jobs:
146146
env:
147147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148148
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
149-
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
149+
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
150150
working-directory: ./src
151151

152152
- name: Stop docker-compose
@@ -163,7 +163,7 @@ jobs:
163163
- uses: codecov/codecov-action@v3
164164
with:
165165
token: ${{ secrets.CODECOV_TOKEN }}
166-
directory: "src/${{ env.TEST_RESULTS }}"
166+
directory: "src/"
167167
files: "**/coverage.opencover.xml"
168168
flags: unittests
169169
name: codecov-umbrella
@@ -195,7 +195,7 @@ jobs:
195195

196196
- uses: actions/setup-dotnet@v3
197197
with:
198-
dotnet-version: "6.0.x"
198+
dotnet-version: "8.0.x"
199199

200200
- name: Enable NuGet cache
201201
uses: actions/[email protected]
@@ -275,7 +275,7 @@ jobs:
275275
env:
276276
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
277277
with:
278-
dotnet-version: "6.0.x"
278+
dotnet-version: "8.0.x"
279279
source-url: https://nuget.pkg.github.com/Project-MONAI/index.json
280280

281281
- name: Publish to GitHub
@@ -300,7 +300,7 @@ jobs:
300300
env:
301301
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
302302
with:
303-
dotnet-version: "6.0.x"
303+
dotnet-version: "8.0.x"
304304
source-url: https://nuget.pkg.github.com/Project-MONAI/index.json
305305

306306
- name: Publish to GitHub

0 commit comments

Comments
 (0)