Trying to directly push to chocolatey

This commit is contained in:
Daniel Ziltener 2020-03-01 20:29:06 +01:00
parent fc06d4f5d7
commit 9c4843cbd6

View file

@ -11,7 +11,7 @@ jobs:
binaryversion: '11' binaryversion: '11'
steps: steps:
- checkout - checkout
- run: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) - run: iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- run: .\build.ps1 - run: .\build.ps1
- run: choco apikey --key $CHOCO_API_KEY --source https://push.chocolatey.org - run: choco apikey --key $CHOCO_API_KEY --source https://push.chocolatey.org
- run: choco push chicken.$version.nupkg --source https://push.chocolatey.org - run: choco push chicken.$version.nupkg --source https://push.chocolatey.org