File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,18 @@ jobs:
5858 run : |
5959 reportgenerator -reports:"**/coverage.cobertura.xml" -targetdir:"coverage-report" -reporttypes:Html -classfilters:"-OpenPayments.Sdk.Generated.*"
6060
61- # - name: Upload coverage report artifact
62- # uses: actions/upload-artifact@v4
63- # with:
64- # name: coverage-report
65- # path: coverage-report
66-
67- - name : Pack
68- run : dotnet pack OpenPayments.Sdk/OpenPayments.Sdk.csproj --configuration Release --no-build -o ./nupkg
61+ - name : Upload coverage report artifact
62+ uses : actions/upload-artifact@v4
63+ with :
64+ name : coverage-report
65+ path : coverage-report
66+
67+ - name : Extract version from tag
68+ id : version
69+ run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
70+
71+ - name : Pack with version from tag
72+ run : dotnet pack OpenPayments.Sdk/OpenPayments.Sdk.csproj --configuration Release --no-build -o ./nupkg -p:PackageVersion=${{ steps.version.outputs.VERSION }}
6973
7074 - name : Generate changelog
7175 uses : heinrichreimer/github-changelog-generator-action@v2.3
You can’t perform that action at this time.
0 commit comments