Skip to content

fix ci

fix ci #5

Workflow file for this run

name: Snapshot
on:
push:
tags:
- v*
permissions:
contents: write
concurrency: snapshot
jobs:
snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v5
- name: Install CUE
run: go install ./cmd/cue
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
install-only: true
version: '~~> v2'
- name: Run GoReleaser with CUE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cue cmd release
working-directory: ./internal/ci/goreleaser