This commit is contained in:
27
.gitea/workflows/build.yml
Normal file
27
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Build this app
|
||||
run-name: ${{ gitea.actor }} is building GOMAD 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Builder:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.26'
|
||||
|
||||
- name: Clone the repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build the linux binary
|
||||
run: make build
|
||||
|
||||
- name: Tar binary
|
||||
run: tar -czf ./bin/gomad.tar.gz ./tmp/gomad_linux_amd64
|
||||
|
||||
- name: Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: |-
|
||||
bin/**
|
||||
Reference in New Issue
Block a user