diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..9d65c80 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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