File tree Expand file tree Collapse file tree 1 file changed +26
-5
lines changed Expand file tree Collapse file tree 1 file changed +26
-5
lines changed Original file line number Diff line number Diff line change 5252 # #####################
5353 # Test Action itself #
5454 # #####################
55- - name : Test Action
55+ - name : Test With Log Tail
5656 uses : ./
5757 with :
5858 # Pre created
@@ -74,10 +74,31 @@ jobs:
7474 -c
7575 echo "Hello, World!" && \
7676 echo "$TEST_VAR" && \
77- echo "Goodbye, World!"
77+ x=0; while [ $x -le 10 ]; do echo "Sleeping..." && x=$(( $x + 1 )) && sleep 2; done
7878 override-container-environment : |
7979 TEST_VAR=foobar123
8080
81- task-wait-until-stopped : true
82- task-start-max-wait-time : 120
83- task-stopped-max-wait-time : 300
81+ # #####################
82+ # Test Action itself #
83+ # #####################
84+ - name : Test Failure Exit Code
85+ uses : ./
86+ with :
87+ # Pre created
88+ cluster : github-gha
89+ task-definition : arn:aws:ecs:${{ vars.AWS_TESTING_REGION }}:${{ vars.AWS_TESTING_ACCOUNT_ID }}:task-definition/github-gha-alpine
90+
91+ assign-public-ip : ' ENABLED'
92+ security-group-ids : |
93+ sg-09a0ccb78d5be2a25
94+ subnet-ids : |
95+ subnet-08bbfd6c53b0c1049
96+ subnet-0fef13a6bef01f61a
97+ subnet-0a676289b4a27a7fa
98+
99+ tail-logs : false
100+ override-container : alpine
101+ override-container-command : |
102+ /bin/sh
103+ -c
104+ exit 1
You can’t perform that action at this time.
0 commit comments