Skip to content

ci: I was making this hard on myself #58

ci: I was making this hard on myself

ci: I was making this hard on myself #58

Workflow file for this run

name: goreleaser

Check failure on line 1 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

(Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
on:
push:
tags:
- "*"
workflow_dispatch: # Allow triggering manually.
jobs:
goreleaser:
needs: build-sysroots
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Build using goreleaser-cross
run: |
docker run --rm \
-e CGO_ENABLED=1 \
-e GITHUB_TOKEN=${{ secrets.GH_PAT }} \
-v $PWD:/workspace \
-w /workspace \
ghcr.io/goreleaser/goreleaser-cross:v1.25-v2.12.7 \
release --clean --verbose
# - name: Set up Go
# uses: actions/setup-go@v2
# with:
# go-version: 1.24
# - name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v2
# with:
# version: latest
# args: release --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GH_PAT }}