Skip to content

Commit

Permalink
final fixup for nuget support
Browse files Browse the repository at this point in the history
  • Loading branch information
ebekker committed May 29, 2021
1 parent c346daf commit 2318b95
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit 2318b95

Please sign in to comment.