This commit is contained in:
parent
a617082042
commit
c3dc6f095e
1 changed files with 26 additions and 0 deletions
26
.forgejo/workflows/build-release.yaml
Normal file
26
.forgejo/workflows/build-release.yaml
Normal file
|
|
@ -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 }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue