Skip to content

Commit

Permalink
modified the yml file reversed the conditions and add echoe run messa…
Browse files Browse the repository at this point in the history
…ge command
  • Loading branch information
gconnect committed Mar 27, 2024
1 parent a9e139c commit 70ef55f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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!"

0 comments on commit 70ef55f

Please sign in to comment.