mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
added test result saving
This commit is contained in:
19
.github/workflows/publish-pipeline.yml
vendored
19
.github/workflows/publish-pipeline.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
ls -l
|
||||
dotnet nuget push "*.nupkg" --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} --source "https://nuget.pkg.github.com/WOmed/index.json"
|
||||
|
||||
- name: 'Upload artifacts to latest release'
|
||||
- name: 'Upload package to latest release'
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
@@ -60,4 +60,19 @@ jobs:
|
||||
asset_path: ${{ github.workspace }}/Builds/Mewtocol.NET.${{ env.VERSION }}.nupkg
|
||||
asset_name: Mewtocol.NET.${{ env.VERSION }}.nupkg
|
||||
asset_content_type: application/zip
|
||||
|
||||
|
||||
- name: Load cached test results
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
restore-keys: coverage-xml
|
||||
|
||||
- name: 'Upload coverage xml to latest release'
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
upload_url: "${{ github.event.release.upload_url }}"
|
||||
asset_path: '${{ github.workspace }}/MewtocolTests/coverage.opencover.xml'
|
||||
asset_name: coverage.opencover.xml
|
||||
asset_content_type: application/xml
|
||||
|
||||
Reference in New Issue
Block a user