From 09728f7787e67f8150b451c3c76a150278937e77 Mon Sep 17 00:00:00 2001 From: everestmcarthur Date: Fri, 21 Aug 2026 07:49:29 -0400 Subject: [PATCH] Add Forgejo Actions workflow (copied from .github/workflows/release.yml) --- .forgejo/workflows/release.yml | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .forgejo/workflows/release.yml diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml new file mode 100644 index 0000000..542000f --- /dev/null +++ b/.forgejo/workflows/release.yml @@ -0,0 +1,40 @@ +name: release + +on: + workflow_dispatch: + push: + 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" + cache: true + cache-dependency-path: go.sum + + - run: go mod download + + - uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }} + AUR_KEY: ${{ secrets.AUR_KEY }}