diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f656fea..c8f4e7a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,15 +75,6 @@ jobs: with: name: package - # - name: install nuget - # env: - # ## set-env is no longer considered safe: - # ## https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ - # ACTIONS_ALLOW_UNSECURE_COMMANDS: true - # ## Win only: - # #uses: warrenbuckley/Setup-Nuget@v1 - # uses: olegtarasov/download-nuget@v1 - - name: setup nuget uses: nuget/setup-nuget@v1 @@ -112,16 +103,10 @@ jobs: with: name: package - - name: install nuget - env: - ## set-env is no longer considered safe: - ## https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ - ACTIONS_ALLOW_UNSECURE_COMMANDS: true - ## Win only: - #uses: warrenbuckley/Setup-Nuget@v1 - uses: olegtarasov/download-nuget@v1 + - name: setup nuget + uses: nuget/setup-nuget@v1 - name: publish env: NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} - run: mono $NUGET_EXE push package/Zyborg.AWS.Lambda.Kerberos*.nupkg -Source nuget.org -ApiKey $NUGET_TOKEN + run: nuget push package/Zyborg.AWS.Lambda.Kerberos*.nupkg -Source nuget.org -ApiKey $NUGET_TOKEN