Skip to content

editing goreleaser configs #4

editing goreleaser configs

editing goreleaser configs #4

Workflow file for this run

name: goreleaser
on:
push:
tags:
- v*
jobs:
goreleaser:
runs-on: ubuntu-latest
main: ./cmd/cat
main: ./cmd/echo

Check failure on line 13 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
main: ./cmd/env
main: ./cmd/false
main: ./cmd/head
main: ./cmd/tail
main: ./cmd/tree
main: ./cmd/true
main: ./cmd/wc
main: ./cmd/yes
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "true"
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --clean
env:
# GitHub sets this automatically
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}