Skip to content

Commit

Permalink
Check for '1' instead of 'true' for write-caches output. (iree-org#11939
Browse files Browse the repository at this point in the history
)

Missed this on iree-org#11906

Some outputs are using true/false, while others are using 0/1.
  • Loading branch information
ScottTodd authored and rengolin committed May 2, 2023
1 parent 47c759a commit b6d73d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ jobs:
run: ./build_tools/cmake/ctest_all.sh "${BUILD_DIR}"
# Write caches (if configured to) after all other steps are finished.
- name: "Saving cache (git submodules)"
if: needs.setup.outputs.write-caches == 'true'
if: needs.setup.outputs.write-caches == '1'
uses: actions/cache/save@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
with:
path: .git/modules
key: gitmodules_all_windows_${{ github.sha }}
- name: "Saving cache (CMake/ccache)"
if: needs.setup.outputs.write-caches == 'true'
if: needs.setup.outputs.write-caches == '1'
uses: actions/cache/save@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
with:
path: ${{ github.workspace }}/.ccache
Expand Down

0 comments on commit b6d73d7

Please sign in to comment.