@@ -11,13 +11,26 @@ inputs:
11
11
description : Should symbolic links be preserved in the .zip file
12
12
required : false
13
13
default : false
14
-
14
+ build_cache_path :
15
+ description : Paths of the build cache
16
+ required : true
17
+ build_cache_key :
18
+ description : Build cache key
19
+ required : true
15
20
runs :
16
21
using : " composite"
17
22
steps :
18
- - uses : actions/download-artifact@v3
23
+ - name : Check build cache
24
+ uses : actions/cache@v2
25
+ id : cache_built_packages
19
26
with :
20
- name : ${{ inputs.artifact_name }}
27
+ path : ${{ inputs.build_cache_path }}
28
+ key : ${{ inputs.build_cache_key }}
29
+ # - uses: actions/download-artifact@v3
30
+ # with:
31
+ # name: ${{ inputs.artifact_name }}
32
+ - name : Setup tmate session
33
+ uses : mxschmitt/action-tmate@v3
21
34
- name : Download and configure extension
22
35
shell : bash
23
36
run : |
@@ -26,11 +39,10 @@ runs:
26
39
curl -0 --silent --output dist-serverless/extensions/sentry-lambda-extension `curl -s https://release-registry.services.sentry.io/apps/sentry-lambda-extension/latest | jq -r .files.\"sentry-lambda-extension\".url`
27
40
chmod +x dist-serverless/extensions/sentry-lambda-extension
28
41
- name : Check for symlink
29
- shell : bash
30
42
run : |
31
43
echo "--------------------"
32
- ls -laR dist-serverless/
33
- echo " XXX dist-serverless/nodejs/node_modules/@sentry/serverless/dist should be a symlink"
44
+ ls -laR packages/serverless/build/aws/ dist-serverless/
45
+ echo " XXX packages/serverless/build/aws/ dist-serverless/nodejs/node_modules/@sentry/serverless/dist should be a symlink"
34
46
echo "--------------------"
35
47
- name : Zip directory
36
48
shell : bash
0 commit comments