Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Merge pull request #263 from cybozu/change-macos-build-runner #12

Merge pull request #263 from cybozu/change-macos-build-runner

Merge pull request #263 from cybozu/change-macos-build-runner #12

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup-go
- id: tool-versions
run: awk '{ print $1"="$2 }' .tool-versions >> $GITHUB_OUTPUT
shell: bash
- uses: goreleaser/goreleaser-action@v5
with:
version: "v${{ steps.tool-versions.outputs.goreleaser }}"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.MACHINE_ACCOUNT_PAT }}