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

Add a terminating newline at the end of generated endorsement statement #140

Add a terminating newline at the end of generated endorsement statement

Add a terminating newline at the end of generated endorsement statement #140

Workflow file for this run

# This workflow releases the binary (currently only for cmd/builder).
# Source: https://github.com/goreleaser/example/blob/master/.github/workflows/build.yml
name: release
on:
push:
branches:
- "main"
tags:
- "v*"
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: success() && startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE }}