Skip to content
Prev Previous commit
Next Next commit
chore: try fix
  • Loading branch information
eps1lon committed Apr 19, 2020
commit cde8bd8992a0a9f69b7394a9a282c6a51263beba
4 changes: 2 additions & 2 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:

- name: "Check that the cache files are consistent with their remote sources"
run: |
echo "TARGET_BRANCH=$TARGET_BRANCH"
if [[ $(git diff --name-only "$(git merge-base origin/"$TARGET_BRANCH" HEAD)" HEAD -- .yarn/{cache,virtual} | wc -l) -gt 0 ]]; then
echo "TARGET_BRANCH={{TARGET_BRANCH}}"
if [[ $(git diff --name-only "$(git merge-base origin/{{TARGET_BRANCH}} HEAD)" HEAD -- .yarn/{cache,virtual} | wc -l) -gt 0 ]]; then
yarn --immutable --immutable-cache --check-cache
fi
if: |
Expand Down