Skip to content

Migrate release/0.3 to gha from repo #33

Migrate release/0.3 to gha from repo

Migrate release/0.3 to gha from repo #33

Workflow file for this run

name: goreleaser
on:
push:
pull_request:
permissions:
contents: write
jobs:
ci:
steps:

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

View workflow run for this annotation

GitHub Actions / goreleaser

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 12, Col: 5): Required property is missing: runs-on
- name : Checkout repository
uses : actions/checkout@v4
with :
fetch-depth : 0
- name : build
run : make build
#uses: ./.github/workflows/ci.yaml
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 }}