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 }}