2020-03-01 19:06:14 +00:00
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
orbs:
|
|
|
|
win: circleci/windows@2.2.0
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
executor: win/default
|
2020-03-01 19:28:19 +00:00
|
|
|
environment:
|
|
|
|
version: '5.2.0'
|
|
|
|
binaryversion: '11'
|
2020-03-01 19:06:14 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2020-03-01 19:28:19 +00:00
|
|
|
- run: [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
2020-03-01 19:06:14 +00:00
|
|
|
- run: .\build.ps1
|
2020-03-01 19:28:19 +00:00
|
|
|
- run: choco apikey --key $CHOCO_API_KEY --source https://push.chocolatey.org
|
|
|
|
- run: choco push chicken.$version.nupkg --source https://push.chocolatey.org
|