File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 4848 ${{ github.workspace }}/packages/ember/*.d.ts
4949 ${{ github.workspace }}/packages/gatsby/*.d.ts
5050
51- # Avoid '*' here: upload-artifact flattens paths after the first wildcard (drops the packages/ prefix).
52- CACHED_BUILD_LAYER_PATHS : |
53- ${{ github.workspace }}/packages/aws-serverless/build/aws
51+ # Upload/download this directory only (no globs): must match pnpm link .../build/aws/dist-serverless/ in aws-serverless E2E.
52+ CACHED_BUILD_LAYER_ARTIFACT_PATH : ${{ github.workspace }}/packages/aws-serverless/build/aws/dist-serverless
5453
5554 BUILD_CACHE_TARBALL_KEY : tarball-${{ github.event.inputs.commit || github.sha }}
5655
@@ -198,7 +197,7 @@ jobs:
198197 uses : actions/upload-artifact@v7
199198 with :
200199 name : build-layer-output
201- path : ${{ env.CACHED_BUILD_LAYER_PATHS }}
200+ path : ${{ env.CACHED_BUILD_LAYER_ARTIFACT_PATH }}
202201 retention-days : 4
203202 compression-level : 6
204203 overwrite : true
@@ -358,6 +357,7 @@ jobs:
358357 uses : actions/download-artifact@v7
359358 with :
360359 name : build-layer-output
360+ path : ${{ env.CACHED_BUILD_LAYER_ARTIFACT_PATH }}
361361
362362 - name : Pack tarballs
363363 run : yarn build:tarball
@@ -996,6 +996,7 @@ jobs:
996996 if : matrix.test-application == 'aws-serverless'
997997 with :
998998 name : build-layer-output
999+ path : ${{ env.CACHED_BUILD_LAYER_ARTIFACT_PATH }}
9991000
10001001 - name : Restore tarball cache
10011002 uses : actions/cache/restore@v5
You can’t perform that action at this time.
0 commit comments