Skip to content

Migrate release/0.3 to gha from repo #31

Migrate release/0.3 to gha from repo

Migrate release/0.3 to gha from repo #31

Workflow file for this run

name: goreleaser
on:
push:
pull_request:
permissions:
contents: write
jobs:
ci:
uses: ./.github/workflows/ci.yaml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "./.github/workflows/ci.yaml" : the `uses' attribute must be a path, a Docker image, or owner/repo@ref
permissions:
contents: read
goreleaser:
needs: [
ci
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name : Package release helm charts
run : make package-helm
- run : mkdir -p ./build/artifacts/ && mv -v ./dist/artifacts/ ./build/
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}