File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ jobs:
46
46
- name : Build Release version
47
47
run : dotnet build --no-restore --configuration Release /p:AssemblyVersion=${{ steps.gitversion.outputs.assemblySemFileVer }} /p:FileVersion=${{ steps.gitversion.outputs.assemblySemFileVer }} /p:InformationalVersion=${{ steps.gitversion.outputs.Sha }}
48
48
49
- # - name: Run Tests
50
- # run: dotnet test --configuration Release -- no-restore --verbosity normal --collect:"XPlat Code Coverage" --settings Marten.AspNetCore.Identity.Tests/coverlet.runsettings
49
+ - name : Run Tests
50
+ run : dotnet test --no-restore --configuration Release --verbosity normal --collect:"XPlat Code Coverage" --settings Marten.AspNetCore.Identity.Tests/coverlet.runsettings
51
51
52
52
- name : Pack
53
- run : dotnet pack --no-build --output ./output --configuration Release /p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }}
53
+ run : dotnet pack --no-restore --no-build --configuration Release /p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }} --output ./output
54
54
55
55
- name : Upload Package to job as artificat
56
56
uses : actions/upload-artifact@v2
61
61
if-no-files-found : error
62
62
63
63
- name : Upload Package to release
64
- # if: contains(github.ref, 'main')
64
+ if : contains(github.ref, 'main')
65
65
uses : svenstaro/upload-release-action@v1-release
66
66
with :
67
67
repo_token : ${{ secrets.GITHUB_TOKEN }}
72
72
overwrite : true
73
73
74
74
- name : Upload Package to nuget
75
- # if: contains(github.ref, 'main')
75
+ if : contains(github.ref, 'main')
76
76
run : dotnet nuget push ./output/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key ${{ secrets.NUGET_KEY }}
You can’t perform that action at this time.
0 commit comments