diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0c32f1..0949006 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,14 +53,11 @@ jobs: path: bin/*.nupkg - name: deploy github.com - run: | - dotnet nuget add source --username $NUGET_USR --password $NUGET_PSW --store-password-in-clear-text --name github $NUGET_SOURCE - find bin -name '*.nupkg' | xargs dotnet nuget push -s github --skip-duplicate --force-english-output + run: find bin -name '*.nupkg' | xargs dotnet nuget push -s $NUGET_SOURCE -k $NUGET_KEY --skip-duplicate --force-english-output shell: bash env: NUGET_SOURCE: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json - NUGET_USR: ${{ github.repository_owner }} - NUGET_PSW: ${{ secrets.GITHUB_TOKEN }} + NUGET_KEY: ${{ secrets.GITHUB_TOKEN }} - name: deploy nuget.org run: find bin -name '*.nupkg' | xargs dotnet nuget push -s $NUGET_SOURCE -k $NUGET_KEY --skip-duplicate --force-english-output