diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 15e5c64fb160..dc31f4796a35 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -120,13 +120,14 @@ jobs: - name: Restore from cache env: NO_CACHE: ${{ (steps.cache.outputs.no-cache || (steps.cache.outputs.deleted_count > 20)) || steps.issue_comment.outputs.DISABLE_CACHE }} + DISABLE_CACHE: ${{ steps.issue_comment.outputs.DISABLE_CACHE }} BOOTSTRAP: ${{ steps.cache.outputs.bootstrap }} CONFIGURE: ${{ steps.cache.outputs.configure }} EVENT: ${{ github.event_name }} DELETED: ${{ steps.cache.outputs.deleted_files }} run: | echo "${{ steps.issue_comment.outputs.DISABLE_CACHE }}" - echo "${{ false || steps.issue_comment.outputs.DISABLE_CACHE }}" + echo "${{ (steps.cache.outputs.no-cache || (steps.cache.outputs.deleted_count > 20)) || steps.issue_comment.outputs.DISABLE_CACHE }} .github/scripts/restore-from-prebuilt.sh "`pwd`" \ "`pwd`/.github/otp.tar.gz" \ "`pwd`/otp_archive.tar.gz"