Skip to content

Commit 345bf25

Browse files
authored
Merge pull request #31 from sharpcode-it/develop
wf update
2 parents 37290cc + e42f795 commit 345bf25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/wfnetcorev2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: dotnet test ./SharpHelpers/SharpHelpers.sln -c Release --no-build
6363
- name: Pack
6464
if: matrix.os == 'ubuntu-latest'
65-
run: dotnet pack -v normal -c Release --no-restore --no-build -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }}-${{ steps.gitversion.outputs.CommitsSinceVersionSourcePadded }} ./SharpHelpers/SharpHelpers.sln
65+
run: dotnet pack -v normal -c Release --no-restore --no-build -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }} ./SharpHelpers/SharpHelpers.sln
6666
- name: Upload Artifact
6767
if: matrix.os == 'ubuntu-latest'
6868
uses: actions/upload-artifact@v3
@@ -116,7 +116,7 @@ jobs:
116116
echo Version: $VERSION
117117
VERSION="${VERSION//v}"
118118
echo Clean Version: $VERSION
119-
dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg src/$PROJECT_NAME/$PROJECT_NAME.*proj
119+
dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=${{ steps.gitversion.outputs.nuGetVersionV2 }} -o nupkg src/$PROJECT_NAME/$PROJECT_NAME.*proj
120120
# - name: Push to GitHub Feed
121121
# run: |
122122
# for f in ./nupkg/*.nupkg

0 commit comments

Comments
 (0)