30 lines
643 B
YAML
30 lines
643 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 go -y
|
|
|
|
- name: Clone the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build the application
|
|
run: go build
|
|
|
|
- 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
|
|
streaming-api
|