-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
45 lines (42 loc) · 1003 Bytes
/
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
name: 'Set up WordPress Test Library'
description: 'Sets up WordPress and WordPress test library'
author: 'Volodymyr Kolesnykov'
inputs:
version:
description: 'WordPress version'
required: false
default: 'latest'
cache_prefix:
description: 'Custom cache prefix'
required: false
default: ''
dir:
description: 'Directory to install WordPress and WordPress Test Library'
required: false
default: '/tmp'
db_user:
description: 'Database user'
required: false
default: 'wordpress'
db_password:
description: 'Database password'
required: false
default: 'wordpress'
db_name:
description: 'Database name'
required: false
default: 'wordpress_test'
db_host:
description: 'Database host'
required: false
default: '127.0.0.1'
outputs:
wp_version:
description: 'Actual WordPress version'
runs:
using: 'node20'
main: 'dist/setup/index.js'
post: 'dist/post/index.js'
branding:
color: blue
icon: target