diff --git a/.gitea/workflows/ci-test.yml b/.gitea/workflows/ci-test.yml new file mode 100644 index 0000000..c267dbe --- /dev/null +++ b/.gitea/workflows/ci-test.yml @@ -0,0 +1,28 @@ +name: CI-test (Gitea Runner) + +on: + push: + branches: [ "**" ] + pull_request: + branches: [ "**" ] + +jobs: + hello-world: + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + - name: Show runner info + run: | + echo "Hostname: $(hostname)" + echo "OS: $(uname -a)" + echo "User: $(whoami)" + echo "Executor: $RUNNER_EXECUTOR" + - name: Simple shell test + run: | + echo "Running a tiny Bash test..." + if [[ "$(date +%u)" -gt 0 ]]; then + echo "✅ Date command works" + else + echo "❌ Unexpected date output" + exit 1 + fi \ No newline at end of file