Add dispatch support for esc-cli (#73) #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: [ "v*.*.*" ] # only a valid semver tag | |
jobs: | |
goreleaser: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Unshallow clone | |
run: git fetch --prune --unshallow | |
- name: Install Go 1.21 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.x' | |
- name: Goreleaser publish | |
uses: goreleaser/goreleaser-action@v1 | |
with: | |
version: latest | |
args: release --rm-dist | |
env: | |
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}} |