Skip to content

build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#123) #52

build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#123)

build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#123) #52

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
outputs:
releases_created: ${{ steps.release.outputs.release_created }}
steps:
- id: release
uses: google-github-actions/release-please-action@v4
with:
release-type: go
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
needs: release-please
if: ${{ needs.release-please.outputs.releases_created }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
repository: sunggun-yu/homebrew-tap
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}