32 lines
605 B
YAML
32 lines
605 B
YAML
name: Build this app
|
|
run-name: ${{ gitea.actor }} is building GOMAD 🚀
|
|
on:
|
|
push:
|
|
tags: ['v*']
|
|
|
|
|
|
|
|
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 ./tmp/gomad.tar.gz ./tmp/gomad_linux_amd64
|
|
|
|
- name: Release
|
|
uses: akkuman/gitea-release-action@v1
|
|
with:
|
|
files: |-
|
|
tmp/**
|