This repository was archived by the owner on Aug 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ inputs:
13
13
build_cache_paths :
14
14
description : Paths of the build cache
15
15
required : true
16
+ on :
17
+ workflow_dispatch :
18
+ inputs :
19
+ debug_enabled :
20
+ description : ' Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
21
+ required : false
22
+ default : false
16
23
runs :
17
24
using : " composite"
18
25
steps :
30
37
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`
31
38
chmod +x dist-serverless/extensions/sentry-lambda-extension
32
39
echo "Done downloading Sentry Lambda extension..."
40
+ - name : Setup tmate session
41
+ uses : mxschmitt/action-tmate@v3
42
+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
33
43
- name : Create Lambda Layer zip
34
44
shell : bash
35
45
run : |
42
52
43
53
echo "Contents of the created zip file:"
44
54
unzip -Z ${{ inputs.zip_file_name }}
55
+ - name : Setup tmate session
56
+ uses : mxschmitt/action-tmate@v3
57
+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
45
58
- name : Upload zip (will be picked up by Craft for deployment)
46
59
uses : actions/upload-artifact@v3
47
60
with :
You can’t perform that action at this time.
0 commit comments