-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from Project-MONAI/release/1.0.0
+semver: major Release/1.0.0
- Loading branch information
Showing
13 changed files
with
3,319 additions
and
2,698 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 |
---|---|---|
|
@@ -51,10 +51,10 @@ jobs: | |
|
||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
|
||
- name: Enable NuGet cache | ||
uses: actions/cache@v3.0.11 | ||
uses: actions/cache@v3.2.3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
@@ -91,7 +91,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: | |
tools: licensefinder | ||
|
||
- name: Enable NuGet cache | ||
uses: actions/cache@v3.0.11 | ||
uses: actions/cache@v3.2.3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
@@ -133,14 +133,14 @@ jobs: | |
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
java-version: '17' | ||
|
||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
|
||
- name: Enable NuGet cache | ||
uses: actions/cache@v3.0.11 | ||
uses: actions/cache@v3.2.3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
@@ -174,7 +174,10 @@ jobs: | |
working-directory: ./src | ||
|
||
- name: Test | ||
run: find ~+ -type f -name "*.Tests.csproj" | xargs -L1 dotnet test -c ${{ env.BUILD_CONFIG }} -v=minimal -r "${{ env.TEST_RESULTS }}" --collect:"XPlat Code Coverage" --settings coverlet.runsettings | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
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: End SonarScanner | ||
|
@@ -187,7 +190,7 @@ jobs: | |
- uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
directory: "src/${{ env.TEST_RESULTS }}" | ||
directory: "src/" | ||
files: "**/coverage.opencover.xml" | ||
flags: unittests | ||
name: codecov-umbrella | ||
|
@@ -219,10 +222,10 @@ jobs: | |
|
||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "6.0.x" | ||
dotnet-version: "8.0.x" | ||
|
||
- name: Enable NuGet cache | ||
uses: actions/cache@v3.0.11 | ||
uses: actions/cache@v3.2.3 | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
@@ -267,7 +270,7 @@ jobs: | |
|
||
- name: Upload Nuget | ||
if: ${{ matrix.os == 'ubuntu-latest' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: nuget | ||
path: ${{ github.workspace }}/release/*.nupkg | ||
|
@@ -292,7 +295,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 | ||
|
@@ -317,7 +320,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 | ||
|
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
Oops, something went wrong.