diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69edd01..d0c2906 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: path: ${{ env.CACHED_DEPENDENCY_PATHS }} key: ${{ steps.compute_lockfile_hash.outputs.hash }} - name: Install dependencies - if: steps.cache_dependencies.outputs.cache-hit == 'false' + if: steps.cache_dependencies.outputs.cache-hit != 'true' run: yarn install outputs: dependency_cache_key: ${{ steps.compute_lockfile_hash.outputs.hash }} @@ -101,10 +101,10 @@ jobs: # packages, and so `yarn build` should always run. This `if` check is therefore only there for testing CI issues # where the built packages are beside the point. In that case, you can change `BUILD_CACHE_KEY` (at the top of # this file) to a constant and skip rebuilding all of the packages each time CI runs. - if: steps.cache_built_packages.outputs.cache-hit == 'false' + if: steps.cache_built_packages.outputs.cache-hit != 'true' run: yarn build - name: Check if yarn.lock is dirty - if: steps.cache_built_packages.outputs.cache-hit == 'false' + if: steps.cache_built_packages.outputs.cache-hit != 'true' run: yarn install --frozen-lockfile outputs: @@ -126,10 +126,10 @@ jobs: path: ${{ env.CACHED_CARTHAGE_PATHS }} key: ${{ hashFiles('src/ios/Cartfile') }} - name: Install Carthage - if: steps.cache_built_carthage.outputs.cache-hit == 'false' + if: steps.cache_built_carthage.outputs.cache-hit != 'true' run: brew install carthage - name: Build Cocoa SDK from Carthage - if: steps.cache_built_carthage.outputs.cache-hit == 'false' + if: steps.cache_built_carthage.outputs.cache-hit != 'true' env: GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }} run: make build