Skip to content

Commit 45e251c

Browse files
authored
Update wfnetcorev2.yaml
1 parent d79fddc commit 45e251c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/wfnetcorev2.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,12 @@ jobs:
8787
# source-url: https://nuget.pkg.github.com/shaprcode-it/index.json
8888
- name: Add Github feed
8989
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"
90-
- name: Add Github feed
91-
run: dotnet nuget add source --username iscifoni --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github2 "https://nuget.HOSTNAME/NAMESPACE/index.json"
9290
- name: List sources
9391
run: dotnet nuget list source
9492
- name: List sources
9593
run: dotnet --info
9694
- name: Publish the package to GitHub
97-
run: dotnet nuget push "*.nupkg" --source "github"
95+
run: dotnet nuget push "*.nupkg" --source "github" --api-key "${{ secrets.GITHUB_TOKEN }}"
9896
deploy:
9997
needs: build
10098
if: github.event_name == 'release' && startsWith(github.ref, 'refs/heads/v')

0 commit comments

Comments
 (0)