From 70ef55f7fc70bb424cb39294e6f6d12b3cc960cc Mon Sep 17 00:00:00 2001 From: gconnect Date: Wed, 27 Mar 2024 23:20:58 +0100 Subject: [PATCH] modified the yml file reversed the conditions and add echoe run message command --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8e619e..a51f3a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: echo "::set-output name=changed_files::$CHANGED_FILES" - name: Bump version and publish - if: ${{ steps.check_changes.outputs.changed_files != 'apps' && steps.check_changes.outputs.changed_files != 'bin' && steps.check_changes.outputs.changed_files != 'helper' && steps.check_changes.outputs.changed_files != 'utils'}} + if: ${{ steps.check_changes.outputs.changed_files == 'apps' || steps.check_changes.outputs.changed_files == 'bin' || steps.check_changes.outputs.changed_files == 'helper' || steps.check_changes.outputs.changed_files == 'utils'}} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN2 }} @@ -43,3 +43,7 @@ jobs: npm version patch git push origin master --follow-tags npm publish + + - name: Echo message + if: ${{ steps.check_changes.outputs.changed_files != 'apps' && steps.check_changes.outputs.changed_files != 'bin' && steps.check_changes.outputs.changed_files != 'helper' && steps.check_changes.outputs.changed_files != 'utils'}} + run: echo "All good here!"