Skip to content

Pin goreleaser

Pin goreleaser #61

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@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
with:
version: v1.26.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_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}}