1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-26 18:20:59 +00:00

fix(test): needs condition. (#8)

as title.

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>

Co-authored-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
Reviewed-on: https://gitea.com/gitea/act/pulls/8
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
appleboy 2023-01-21 17:09:51 +08:00
parent 05f0f37a60
commit 85c04b92cd

View file

@ -10,6 +10,7 @@ name: test
jobs:
job2:
name: job2
needs: job1
runs-on: linux
steps:
- run: uname -a
@ -18,6 +19,7 @@ name: test
jobs:
job3:
name: job3
needs: [job1, job2]
runs-on: linux
steps:
- run: uname -a