diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d6da3c4582c6..ee8e4235c749 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -112,9 +112,9 @@ jobs: run: | ISSUE_COMMENTS=$(gh api -H "Accept: application/vnd.github+json" /repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments | jq ".[] | .body") if echo "${ISSUE_COMMENTS}" | grep "@github-actions disable-cache"; then - echo "DISABLE_CACHE=true" >> $GITHUB_OUTPUT + echo "DISABLE_CACHE=1" >> $GITHUB_OUTPUT else - echo "DISABLE_CACHE=false" >> $GITHUB_OUTPUT + echo "DISABLE_CACHE=0" >> $GITHUB_OUTPUT fi cat $GITHUB_OUTPUT - name: Restore from cache