name: Release on: push: tags: ["v*"] permissions: contents: write jobs: goreleaser: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-go@v5 with: go-version-file: go.mod cache: true - uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --clean env: # Set di repo Gitea → Settings → Actions → Secrets, # scope token: write:repository GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}