Skip to content

chore: add release target #2

chore: add release target

chore: add release target #2

Workflow file for this run

# .github/workflows/release.yml
name: Release
on:
push:
tags:
- 'v*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
permissions:
checks: write
uses: ./.github/workflows/main.yml

Check failure on line 17 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/main.yml" (source tag with sha:f3653f19daaddd6f97fcebabbd06f1845fbd3328) : workflow is not reusable as it is missing a `on.workflow_call` trigger
release:
runs-on: ubuntu-latest
needs: [ test ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- run: make release
if: success()