Skip to content

Add dispatch support for esc-cli (#73) #56

Add dispatch support for esc-cli (#73)

Add dispatch support for esc-cli (#73) #56

Workflow file for this run

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}}