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 :
@@ -43,6 +50,9 @@ set -euo pipefail
43
50
EOT
44
51
chmod +x dist-serverless/extensions/sentry-lambda-extension
45
52
echo "Done creating start script."
53
+ - name : Setup tmate session
54
+ uses : mxschmitt/action-tmate@v3
55
+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
46
56
- name : Create Lambda Layer zip
47
57
shell : bash
48
58
run : |
@@ -55,6 +65,9 @@ set -euo pipefail
55
65
56
66
echo "Contents of the created zip file:"
57
67
unzip -Z ${{ inputs.zip_file_name }}
68
+ - name : Setup tmate session
69
+ uses : mxschmitt/action-tmate@v3
70
+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
58
71
- name : Upload zip (will be picked up by Craft for deployment)
59
72
uses : actions/upload-artifact@v3
60
73
with :
You can’t perform that action at this time.
0 commit comments