Skip to content

v0.1.2

v0.1.2 #3

Workflow file for this run

on:
release:
types: [published]
name: release-cli
jobs:
go-release-cli:
runs-on: [ARM64, self-hosted, Linux]
steps:
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# For why we need to generate a token and not use the default
- name: Generate token
id: generate_token
uses: chanzuckerberg/[email protected]
with:
app_id: ${{ secrets.CZI_RELEASE_PLEASE_APP_ID }}
private_key: ${{ secrets.CZI_RELEASE_PLEASE_PK }}
- uses: actions/checkout@v4
# we need to fetch all history and tags,
# so we build the proper version
# NOTE: this needs to happen after the tag is created so the tag is present locally
with:
fetch-depth: 0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
workdir: core/cli
args: release --clean
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}