28 lines
625 B
YAML
28 lines
625 B
YAML
name: Build this app
|
|
run-name: ${{ gitea.actor }} is testing out Building a Go app 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
Builder:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: '1.25'
|
|
|
|
- name: Clone the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build the linux binary
|
|
run: go build -o ./bin/streaming-api
|
|
|
|
- name: Tar binary
|
|
run: tar -czf ./bin/streaming-api.tar.gz ./bin/streaming-api
|
|
|
|
- name: Release
|
|
uses: akkuman/gitea-release-action@v1
|
|
with:
|
|
files: |-
|
|
bin/**
|