-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 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 |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
- name: Run tests | ||
run: dotnet test --collect:"XPlat Code Coverage" | ||
- name: Upload coverage | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Code coverage ${{ matrix.os }} | ||
path: "**/coverage.cobertura.xml" | ||
|
@@ -55,12 +55,12 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
- uses: actions/download-artifact@v2 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Code coverage windows-latest | ||
path: coverage-windows | ||
- name: Generate coverage report | ||
uses: danielpalme/[email protected].0 | ||
uses: danielpalme/[email protected].3 | ||
with: | ||
reports: "**/coverage.cobertura.xml" | ||
targetdir: "coverage-report" | ||
|
@@ -85,7 +85,7 @@ jobs: | |
- name: Create packages | ||
run: dotnet pack --configuration Release --output ./packages | ||
- name: Upload a Build Artifact | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: NuGet packages | ||
path: packages/*.* | ||
|
@@ -101,15 +101,15 @@ jobs: | |
fetch-depth: 0 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
- uses: actions/download-artifact@v2 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: NuGet packages | ||
path: packages | ||
- name: Print Files in packages folder | ||
run: dir packages | ||
- name: Push packages | ||
run: dotnet nuget push "packages/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json | ||
- uses: dotnet/[email protected].0 | ||
- uses: dotnet/[email protected].2 | ||
id: nbgv | ||
|
||
- name: Create GitHub release | ||
|
@@ -120,7 +120,7 @@ jobs: | |
tag_name: v${{ steps.nbgv.outputs.SemVer2 }} | ||
release_name: v${{ steps.nbgv.outputs.SemVer2 }} | ||
- name: Comment relevant issues and merge requests | ||
uses: apexskier/[email protected].2 | ||
uses: apexskier/[email protected].6 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
comment-template: | | ||
|
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
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