chicken-package/.circleci/config.yml
2020-03-01 23:46:14 +01:00

19 lines
597 B
YAML

version: 2.1
orbs:
win: circleci/windows@2.2.0
jobs:
build:
executor: win/default
environment:
version: '5.2.0'
binaryversion: '11'
steps:
- checkout
- run: iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- run: Install-Module -Name 7Zip4Powershell -Force -Scope CurrentUser
- run: choco install -y msys2
- run: .\build.ps1
- run: choco apikey --key $CHOCO_API_KEY --source https://push.chocolatey.org
- run: choco push chicken.$version.nupkg --source https://push.chocolatey.org