From c3dc6f095ec195b98e7d1c70f040daa361ff71f5 Mon Sep 17 00:00:00 2001 From: ari melody Date: Sat, 31 Jan 2026 01:04:50 +0000 Subject: [PATCH] forgejo workflows maybe --- .forgejo/workflows/build-release.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .forgejo/workflows/build-release.yaml diff --git a/.forgejo/workflows/build-release.yaml b/.forgejo/workflows/build-release.yaml new file mode 100644 index 0000000..51a460a --- /dev/null +++ b/.forgejo/workflows/build-release.yaml @@ -0,0 +1,26 @@ +on: + push: + branches: + - main + +jobs: + build-linux-amd64: + runs-on: docker + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 + with: + go-version: '^1.25.3' + - run: go version + + - name: Build binary + env: + GOOS: linux + GOARCH: amd64 + run: go build -o ./dist/release/vodular-linux-amd64 + + - name: Publish release + uses: actions/forgejo-release@v2.9.0 + with: + direction: upload + token: ${{ secrets.RELEASE_TOKEN }}