Skip to content

ci: enhance CI/CD pipeline with new environment variables #12

ci: enhance CI/CD pipeline with new environment variables

ci: enhance CI/CD pipeline with new environment variables #12

Workflow file for this run

name: Goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
env:
GORELEASER_PREVIOUS_TAG: v1.17.1
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --clean
env:

Check failure on line 32 in .github/workflows/goreleaser.yml

View workflow run for this annotation

GitHub Actions / Goreleaser

Invalid workflow file

The workflow is not valid. .github/workflows/goreleaser.yml (Line: 32, Col: 9): 'env' is already defined
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}