Skip to content

goreleaser config edits #5

goreleaser config edits

goreleaser config edits #5

Workflow file for this run

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

Check failure on line 12 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: 12, Col: 5): Unexpected value 'main'
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 }}