From bf867b55cb50cdbdceed1199b819081a17ad9b48 Mon Sep 17 00:00:00 2001 From: Dominic Fraser Date: Tue, 23 Jan 2024 23:29:20 +0000 Subject: [PATCH] print callable --- .github/workflows/pr.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 492ebad..67df8dc 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,12 +26,15 @@ jobs: # run: exit -1 - name: Print status - if: steps.step-one.result == 'success' run: echo "jobs.call-workflow.result" - - name: Print hello - if: steps.step-one.result == 'success' - run: echo "hello" + - name: Print hello if success + if: steps.call-workflow.result == 'success' + run: echo "success" + + - name: Print hello if skipped + if: steps.call-workflow.result == 'skipped' + run: echo "skipped" # - name: No files in matcher have been modified # if: steps.changed-files.outputs.any_modified != 'true'