Skip to content

Commit

Permalink
add storing password in plain text
Browse files Browse the repository at this point in the history
  • Loading branch information
thepigeongenerator committed Jun 19, 2024
1 parent 96c77ed commit 56da381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
# push nuget repo (package is created on build as the configuration in the csproj file)
- name: add nuget package to repo
run: |
echo "secrets.PACKAGE_MANAGEMENT: ${{ secrets.PACKAGE_MANAGEMENT }}"
dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name "github" --username ${{ github.repository_owner }} --password ${{ secrets.PACKAGE_MANAGEMENT }}
if [[ -z "${{ secrets.PACKAGE_MANAGEMENT }}" ]]; then echo -e "\033[91no token was set!\033[0m" && exit -1; fi
dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name "github" --username ${{ github.repository_owner }} --password ${{ secrets.PACKAGE_MANAGEMENT }} --store-password-in-clear-text
dotnet nuget push "QUtil/bin/Release/QUtil.MonoGame.Render*.nupkg" --source "github" --skip-duplicate --no-symbols

0 comments on commit 56da381

Please sign in to comment.