forked from duckbytes/amplify-build-status
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (48 loc) · 1.3 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# action.yml
name: 'amplify-build-status'
description: 'Get the status of an Amplify build, or wait for it to complete.'
inputs:
app-id:
description: 'The ID of the Amplify app.'
required: true
default: ''
branch-name:
description: 'The connected branch to the Amplify console.'
required: true
default: ''
commit-id:
description: 'The commit ID that the build was triggered from.'
required: true
default: ''
wait:
description: 'The action will prevent continuing until the next step until the build fails or succeeds. Boolean.'
required: false
default: false
timeout:
description: 'Timeout in minutes for the wait. A value of 0 will wait forever!'
required: false
default: 120
no-fail:
description: 'Use successful exit status even if the build has failed.'
required: false
default: false
outputs:
status:
description: 'The result of the build.'
backend_environment:
description: 'The environment name'
graphql_endpoint:
description: 'The GraphQL endpoint.'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.app-id }}
- ${{ inputs.branch-name }}
- ${{ inputs.commit-id }}
- ${{ inputs.wait }}
- ${{ inputs.timeout }}
- ${{ inputs.no-fail }}
branding:
icon: 'check-circle'
color: 'orange'