mirror of
https://github.com/on4kjm/FLEcli.git
synced 2025-02-07 16:32:46 +01:00
60e0f02cdd
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
No EOL
972 B
YAML
31 lines
No EOL
972 B
YAML
name: Release with goreleaser
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*.*.*
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: goreleaser
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Login to DockerHub Registry
|
|
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
|
- name: Unshallow Fetch
|
|
run: git fetch --prune --unshallow
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '^1.21.3'
|
|
- uses: tibdex/github-app-token@v2
|
|
id: generate_homebrew_token
|
|
with:
|
|
app_id: ${{ secrets.HOMEBREW_APP_ID }}
|
|
private_key: ${{ secrets.HOMEBREW_APP_PRIVKEY }}
|
|
- name: Release via goreleaser
|
|
uses: goreleaser/goreleaser-action@v5
|
|
with:
|
|
distribution: goreleaser
|
|
args: release --release-notes=doc/whats_new.md
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
HOMEBREW: ${{ steps.generate_homebrew_token.outputs.token }} |