Skip to content

Go releaser

Go releaser #1

Workflow file for this run

name: SLSA Go releaser
on:
workflow_dispatch:
release:
types: [created]
permissions: read-all
env:
GO_VERSION: '1.21.1'
jobs:
release:
permissions:
id-token: write
contents: write
actions: read
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
go-version: ${{ env.GO_VERSION }}

Check failure on line 22 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / SLSA Go releaser

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 22, Col: 19): Unrecognized named-value: 'env'. Located at position 1 within expression: env.GO_VERSION