Skip to content

Commit

Permalink
Install pulumictl during release (#63)
Browse files Browse the repository at this point in the history
* Install pulumictl during release

* Test installing and executing tool

* Fix PR test command
  • Loading branch information
danielrbradley authored Jan 18, 2023
1 parent 8196690 commit 89384f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ jobs:
go-version: '1.18.x'
- name: Run tests
run: go test ./...
- name: Install and run
run: |
make install
pulumictl convert-version -v 0.0.1+dev -l python
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Chocolatey Package Deployment
run: |
make install
CURRENT_TAG=$(pulumictl get version --language generic -o)
pulumictl create choco-deploy -a pulumictl ${CURRENT_TAG}
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN}}
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN}}

0 comments on commit 89384f4

Please sign in to comment.