From c5b52c44b0b8ddc237adcba36dd93315085c336f Mon Sep 17 00:00:00 2001 From: Shane Fontaine <9441295+shanefontaine@users.noreply.github.com> Date: Thu, 16 May 2024 07:35:28 -0700 Subject: [PATCH] gh: update syntax --- .../actions/check-package-updates/action.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/actions/check-package-updates/action.yml b/.github/actions/check-package-updates/action.yml index 6561155217..2a11ca7b13 100644 --- a/.github/actions/check-package-updates/action.yml +++ b/.github/actions/check-package-updates/action.yml @@ -57,13 +57,13 @@ runs: files: | packages/${{ inputs.package-name }}/** - - name: Is any change - id: check-any - run: | - if [[ "${{ steps.check-npm.outputs.npm-version-changed }}" == "true" ]] || \ - [[ "${{ steps.check-package-json.outputs.any_changed }}" == "true" ]] || \ - [[ "${{ steps.check-package.outputs.any_changed }}" == "true" ]]; then - echo "any-changed=true" >> $GITHUB_OUTPUT - else - echo "any-changed=false" >> $GITHUB_OUTPUT - fi + - name: Is any change + id: check-any + run: | + if [[ "${{ steps.check-npm.outputs.npm-version-changed }}" == "true" ]] || \ + [[ "${{ steps.check-package-json.outputs.any_changed }}" == "true" ]] || \ + [[ "${{ steps.check-package.outputs.any_changed }}" == "true" ]]; then + echo "any-changed=true" >> $GITHUB_OUTPUT + else + echo "any-changed=false" >> $GITHUB_OUTPUT + fi