xiabin 6670c66559
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2s
test
2025-02-11 10:50:03 +08:00

25 lines
630 B
YAML

name: Gitea Actions Demo
#run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: runner
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build Service
run: |
cd app/${{ matrix.service }}
go mod tidy
go build -o ${{ matrix.service }}_bin ./${{ matrix.service }}
- name: Run Service
run: |
cd app/${{ matrix.service }}
./${{ matrix.service }}_bin -f etc/${{ matrix.service }}.yaml &
background: true
- name: Keep alive
run: sleep 300