Files
LocalAGI/.github/workflows/goreleaser.yml
mudler 2de5152bfd ci: run on self-hosted
Signed-off-by: mudler <mudler@localai.io>
2025-03-20 10:30:16 +01:00

32 lines
687 B
YAML

name: goreleaser
on:
push:
tags:
- 'v*' # Add this line to trigger the workflow on tag pushes that match 'v*'
permissions:
id-token: write
contents: read
jobs:
goreleaser:
permissions:
contents: write
runs-on: arc-runner-localagent
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}