Skip to content

Commit

Permalink
Set working dir during Chocolatey deploy steps (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Simmer authored Feb 5, 2021
1 parent cb18d15 commit 32ed3b0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,17 +296,22 @@ jobs:

chocolatey-deploy:
executor: windows/default
working_directory: chocolatey
steps:
- checkout
- run:
working_directory: chocolatey
name: Run update script
command: .\update-version.ps1
- run: choco pack circleci-cli\circleci-cli.nuspec
- run: copy-item circleci-cli.*.nupkg circleci-cli.nupkg
- run:
command: choco pack circleci-cli\circleci-cli.nuspec
working_directory: chocolatey
- run:
command: copy-item circleci-cli.*.nupkg circleci-cli.nupkg
working_directory: chocolatey
- run:
name: Push to Chocolatey package repository
command: choco push circleci-cli.nupkg --source https://chocolatey.org/ --apikey $env:CHOCO_API_KEY
working_directory: chocolatey

workflows:
ci:
Expand Down

0 comments on commit 32ed3b0

Please sign in to comment.