Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
gardito-git committed Aug 15, 2024
1 parent 45d656b commit 66ba047
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- run: echo "A"
- id: set
run: |
echo "::set-output name=run_job_b::yes"
echo "::set-output name=run_job_b::no"
outputs:
run_job_b: ${{ steps.set.outputs.run_job_b }}
b:
Expand All @@ -29,6 +29,9 @@ jobs:
needs:
- a
- b
if: needs.b.result == 'success' || needs.b.result == 'skipped'
if: |
always() &&
needs.a.result == 'success' &&
(needs.b.result == 'success' || needs.b.result == 'skipped')
steps:
- run: echo "C"

0 comments on commit 66ba047

Please sign in to comment.