Skip to content

Commit b5485ef

Browse files
authored
Update wfnetcorev2.yaml +semver: breaking
1 parent 1edbf5a commit b5485ef

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/wfnetcorev2.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,13 @@ jobs:
118118
VERSION="${VERSION//v}"
119119
echo Clean Version: $VERSION
120120
dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -o nupkg src/$PROJECT_NAME/$PROJECT_NAME.*proj
121-
- name: Push to GitHub Feed
122-
run: |
123-
for f in ./nupkg/*.nupkg
124-
do
125-
curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
126-
done
121+
# - name: Push to GitHub Feed
122+
# run: |
123+
# for f in ./nupkg/*.nupkg
124+
# do
125+
# curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
126+
# done
127+
- name: Publish the package to GitHub
128+
run: dotnet nuget push "*.nupkg" --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --api-key ${{ secrets.GITHUB_TOKEN }}
127129
- name: Push to NuGet Feed
128130
run: dotnet nuget push ./nupkg/*.nupkg --source $NUGET_FEED --skip-duplicate --api-key $NUGET_KEY

0 commit comments

Comments
 (0)