@@ -955,10 +955,14 @@ jobs:
955955
956956      - name : Restore tarball cache 
957957        uses : actions/cache/restore@v4 
958+         id : restore-tarball-cache 
958959        with :
959960          path : ${{ github.workspace }}/packages/*/*.tgz 
960961          key : ${{ env.BUILD_CACHE_TARBALL_KEY }} 
961-           fail-on-cache-miss : true 
962+ 
963+       - name : Build tarballs if not cached 
964+         if : steps.restore-tarball-cache.outputs.cache-hit != 'true' 
965+         run : yarn build:tarball 
962966
963967      - name : Install Playwright 
964968        uses : ./.github/actions/install-playwright 
@@ -1055,10 +1059,14 @@ jobs:
10551059
10561060      - name : Restore tarball cache 
10571061        uses : actions/cache/restore@v4 
1062+         id : restore-tarball-cache 
10581063        with :
10591064          path : ${{ github.workspace }}/packages/*/*.tgz 
10601065          key : ${{ env.BUILD_CACHE_TARBALL_KEY }} 
1061-           fail-on-cache-miss : true 
1066+ 
1067+       - name : Build tarballs if not cached 
1068+         if : steps.restore-tarball-cache.outputs.cache-hit != 'true' 
1069+         run : yarn build:tarball 
10621070
10631071      - name : Install Playwright 
10641072        uses : ./.github/actions/install-playwright 
@@ -1155,12 +1163,17 @@ jobs:
11551163          pattern : profiling-node-binaries-${{ github.sha }}-* 
11561164          path : ${{ github.workspace }}/packages/profiling-node/lib/ 
11571165          merge-multiple : true 
1166+ 
11581167      - name : Restore tarball cache 
11591168        uses : actions/cache/restore@v4 
1169+         id : restore-tarball-cache 
11601170        with :
11611171          path : ${{ github.workspace }}/packages/*/*.tgz 
11621172          key : ${{ env.BUILD_CACHE_TARBALL_KEY }} 
1163-           fail-on-cache-miss  : true 
1173+ 
1174+       - name : Build tarballs if not cached 
1175+         if : steps.restore-tarball-cache.outputs.cache-hit != 'true' 
1176+         run : yarn build:tarball 
11641177
11651178      - name : Install Playwright 
11661179        uses : ./.github/actions/install-playwright 
0 commit comments