Skip to content

Commit 3aad44c

Browse files
authored
Update wfnetcorev2.yaml
1 parent 4bd7357 commit 3aad44c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/wfnetcorev2.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ jobs:
9191
# run: dotnet nuget add source --username iscifoni --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/shaprcode-it/index.json"
9292
# - name: List sources
9393
# run: dotnet nuget list source
94-
- name: Push to GitHub Feed
95-
run: |
96-
for f in *.nupkg
97-
do
98-
curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
99-
done
100-
# - name: Publish the package to GitHub
101-
# run: dotnet nuget push "*.nupkg" --source https://nuget.pkg.github.com/shaprcode-it/index.json --api-key $GITHUB_TOKEN
94+
# - name: Push to GitHub Feed
95+
# run: |
96+
# for f in *.nupkg
97+
# do
98+
# curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED
99+
# done
100+
- name: Publish the package to GitHub
101+
run: dotnet nuget push "*.nupkg" --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols
102102
deploy:
103103
needs: build
104104
if: github.event_name == 'release' && startsWith(github.ref, 'refs/heads/v')

0 commit comments

Comments
 (0)