diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 08fad2878..dd6032553 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -190,7 +190,7 @@ jobs: - name: Cache dist # avoid cache thrashing by nightly - if: github.event_name != 'workflow_call' + if: github.event_name == 'push' || github.event_name == 'pull_request' uses: actions/cache/save@v4 id: cache-dist with: