27 lines
584 B
YAML
27 lines
584 B
YAML
name: Build this app
|
|
run-name: ${{ gitea.actor }} is testing out Building a Go app 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
Builder:
|
|
runs-on: golang-alpine
|
|
steps:
|
|
- name: install git
|
|
run: apk add git nodejs
|
|
|
|
- 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
|