File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ jobs:
267
267
268
268
main_job:
269
269
needs: pre_job
270
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
270
+ if: needs.pre_job.outputs.should_skip != 'true'
271
271
runs-on: ubuntu-latest
272
272
steps:
273
273
- run: echo "Running slow tests..." && sleep 30
@@ -288,7 +288,7 @@ jobs:
288
288
with:
289
289
cancel_others: 'false'
290
290
paths: '["src/**", "dist/**"]'
291
- - if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
291
+ - if: steps.skip_check.outputs.should_skip != 'true'
292
292
run: |
293
293
echo "Run only if src/ or dist/ changed..." && sleep 30
294
294
echo "Do other stuff..."
@@ -328,10 +328,10 @@ jobs:
328
328
# been found) 'paths_result' outputs an empty object ('{}'). This can be easily intercepted in the if condition of a job
329
329
# by checking the result of the "global" 'should_skip' output first.
330
330
if: needs.pre_job.outputs.should_skip != 'true' || !fromJSON(needs.pre_job.outputs.paths_result).frontend.should_skip
331
- ...
331
+ # ...
332
332
333
333
backend:
334
- ...
334
+ # ...
335
335
` ` `
336
336
337
337
# # How does it work?
You can’t perform that action at this time.
0 commit comments