Skip to content

Updating workflow files #1

Updating workflow files

Updating workflow files #1

Workflow file for this run

name: goreleaser
on:
push:
tags:
- '*'
builds:

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

View workflow run for this annotation

GitHub Actions / goreleaser

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 8, Col: 1): Unexpected value 'builds'
- main: ./cmd/cat
- main: ./cmd/echo
- main: ./cmd/env
- main: ./cmd/false
- main: ./cmd/head
- main: ./cmd/tail
- main: ./cmd/tree
- main: ./cmd/true
- main: ./cmd/wc
- main: ./cmd/yes
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: "true"
-
name: Set up Go
uses: actions/setup-go@v5
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}