29 lines
641 B
YAML
29 lines
641 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: Update apt
|
|
run: apt-get update -y
|
|
|
|
- name: install go
|
|
run: apt-get install golang -y
|
|
|
|
- name: Clone the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build the linux binary
|
|
run: go build -o streaming-api
|
|
|
|
- name: Tar binary
|
|
run: tar -czf streaming-api.tar.gz ./streaming-api
|
|
|
|
- name: Release
|
|
uses: akkuman/gitea-release-action@v1
|
|
with:
|
|
files:
|
|
streaming-api.tar.gz
|