@@ -955,10 +955,14 @@ jobs:
955
955
956
956
- name : Restore tarball cache
957
957
uses : actions/cache/restore@v4
958
+ id : restore-tarball-cache
958
959
with :
959
960
path : ${{ github.workspace }}/packages/*/*.tgz
960
961
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
962
966
963
967
- name : Install Playwright
964
968
uses : ./.github/actions/install-playwright
@@ -1055,10 +1059,14 @@ jobs:
1055
1059
1056
1060
- name : Restore tarball cache
1057
1061
uses : actions/cache/restore@v4
1062
+ id : restore-tarball-cache
1058
1063
with :
1059
1064
path : ${{ github.workspace }}/packages/*/*.tgz
1060
1065
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
1062
1070
1063
1071
- name : Install Playwright
1064
1072
uses : ./.github/actions/install-playwright
@@ -1155,12 +1163,17 @@ jobs:
1155
1163
pattern : profiling-node-binaries-${{ github.sha }}-*
1156
1164
path : ${{ github.workspace }}/packages/profiling-node/lib/
1157
1165
merge-multiple : true
1166
+
1158
1167
- name : Restore tarball cache
1159
1168
uses : actions/cache/restore@v4
1169
+ id : restore-tarball-cache
1160
1170
with :
1161
1171
path : ${{ github.workspace }}/packages/*/*.tgz
1162
1172
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
1164
1177
1165
1178
- name : Install Playwright
1166
1179
uses : ./.github/actions/install-playwright
0 commit comments