commit c298f747a02c41603406eb2ce7267da2abd4c58d Author: csh Date: Thu Jul 2 15:47:58 2026 +0800 test multi-job workflow support diff --git a/.gitea/workflows/test-multi-jobs.yml b/.gitea/workflows/test-multi-jobs.yml new file mode 100644 index 0000000..175d914 --- /dev/null +++ b/.gitea/workflows/test-multi-jobs.yml @@ -0,0 +1,23 @@ +name: Test Multi Jobs + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + first: + runs-on: standard-ubuntu-22 + steps: + - name: First + run: | + echo "first ok" + + second: + needs: first + runs-on: standard-ubuntu-22 + steps: + - name: Second + run: | + echo "second ok" diff --git a/README.md b/README.md new file mode 100644 index 0000000..6a65c9b --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Gitea Actions multi-job test + +This repository verifies whether the Gitea runner supports multiple jobs and +same-workflow `needs` dependencies.