diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c04561..29b0043 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,13 +42,13 @@ jobs: # Publish - name: Echo Key env: - SUPER_SECRET: ${{ secrets.SKYWARDNUGETAPIKEY }} - run: echo $SKYWARDNUGETAPIKEY + SKYWARDNUGETAPIKEY: ${{ secrets.SKYWARDNUGETAPIKEY }} + run: echo "$SKYWARDNUGETAPIKEY" - name: Publish Packages env: - SUPER_SECRET: ${{ secrets.SKYWARDNUGETAPIKEY }} - run: cd publish && for fileName in *.nupkg; do echo ${fileName}; dotnet nuget push -k $SKYWARDNUGETAPIKEY -s https://api.nuget.org/v3/index.json ${fileName} || :; done + SKYWARDNUGETAPIKEY: ${{ secrets.SKYWARDNUGETAPIKEY }} + run: cd publish && for fileName in *.nupkg; do echo ${fileName}; dotnet nuget push -k "$SKYWARDNUGETAPIKEY" -s https://api.nuget.org/v3/index.json ${fileName} || :; done - name: Public Source Mapping env: - SUPER_SECRET: ${{ secrets.SKYWARDNUGETAPIKEY }} - run: cd publish && for fileName in *.snupkg; do echo ${fileName}; dotnet nuget push -k $SKYWARDNUGETAPIKEY -s https://api.nuget.org/v3/index.json ${fileName} || :; done + SKYWARDNUGETAPIKEY: ${{ secrets.SKYWARDNUGETAPIKEY }} + run: cd publish && for fileName in *.snupkg; do echo ${fileName}; dotnet nuget push -k "$SKYWARDNUGETAPIKEY" -s https://api.nuget.org/v3/index.json ${fileName} || :; done