From 0efa2d5e63fdc03360b4eb6aac0b9ac5eac9ca42 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 21 Jan 2023 17:09:51 +0800 Subject: [PATCH] fix(test): needs condition. (#8) as title. Signed-off-by: Bo-Yi.Wu Co-authored-by: Bo-Yi.Wu Reviewed-on: https://gitea.com/gitea/act/pulls/8 Reviewed-by: Lunny Xiao --- pkg/jobparser/testdata/has_needs.out.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/jobparser/testdata/has_needs.out.yaml b/pkg/jobparser/testdata/has_needs.out.yaml index 959960d..a544aa2 100644 --- a/pkg/jobparser/testdata/has_needs.out.yaml +++ b/pkg/jobparser/testdata/has_needs.out.yaml @@ -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