nightly push action rework v3

i think you need to use the double brackets and scope
to the action secrets to access the api key. who knows
it's not like there's any validation or debugging or testing
capability because the entire field of devops has soup for
brain 🧌
This commit is contained in:
Eliot Jones
2021-08-14 13:17:09 -04:00
parent 661d37de0e
commit fcdd08a21c

View File

@@ -32,6 +32,6 @@ jobs:
run: dotnet pack -c Release -o package tools/UglyToad.PdfPig.Package/UglyToad.PdfPig.Package.sln
- name: Publish Nuget to GitHub registry
run: dotnet nuget push ./package/*.nupkg --api-key ${NUGET_API_KEY} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push ./package/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}