This commit is contained in:
Dax Raad
2025-04-22 21:09:20 -04:00
parent fabc9e003d
commit 9b5dd469f5
5 changed files with 148 additions and 19 deletions
+39
View File
@@ -0,0 +1,39 @@
name: release
on:
workflow_dispatch:
push:
branches:
- opencode
tags:
- "*"
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: ">=1.23.2"
- run: go mod download
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}