create pipeline
This commit is contained in:
23
.gitea/workflows/build.yml
Normal file
23
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
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: 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
|
||||
Reference in New Issue
Block a user