Skip to content

Commit

Permalink
chore: fix js common run (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Mar 25, 2022
1 parent 7f0fcae commit 23f75b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ runs:
run: |
base_changed=${{ steps.diff.outputs.GITHUB_ACTIONS_CHANGED > 0 || steps.diff.outputs.COMMON_SPECS_CHANGED > 0 || steps.diff.outputs.SCRIPTS_CHANGED > 0 || steps.diff.outputs.JS_TEMPLATE_CHANGED > 0 || steps.diff.outputs.JS_COMMON_CHANGED > 0 }}
algoliasearch_changed=${{ steps.diff.outputs.JS_ALGOLIASEARCH_CHANGED > 0 }}
common_changed=${{ steps.diff.outputs.JS_COMMON_CHANGED > 0 }}
matrix=$(./scripts/ci/create-client-matrix.sh javascript $base_changed ${{ steps.diff.outputs.ORIGIN_BRANCH }})
Expand All @@ -117,7 +118,7 @@ runs:
echo "::set-output name=MATRIX::$matrix"
echo "::set-output name=RUN_CLIENT::$run"
if [[ $base_changed == 'true' || steps.diff.outputs.JS_COMMON_CHANGED > 0 ]]; then
if [[ $base_changed == 'true' || $common_changed == 'true' ]]; then
echo "Running common javascript: true"
echo "::set-output name=RUN_COMMON::true"
fi
Expand Down

0 comments on commit 23f75b5

Please sign in to comment.