-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
49 lines (48 loc) · 1.66 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
49
name: 'Taqueria Actions'
description: 'A docker action that helps simplify and standardize the use of taqueria in GitHub workflows'
branding:
icon: circle
color: red
inputs:
compile_contracts:
description: 'A comma separated list of contracts compiled'
required: false
compile_plugin:
description: 'The plugin used to compile the contracts. Can be "ligo" or "smartpy". The default is "ligo"'
required: false
default: 'ligo'
deploy_contracts:
description: 'A comma separated list of contracts to deploy to a specific environment. The Taquito plugin needs to be installed'
required: false
environment:
description: 'The environment to execute commands on. The default is "development"'
required: false
default: 'development'
plugins:
description: 'A comma separated list of plugins to install'
required: false
project_directory:
description: 'The name of the project to create'
required: false
sandbox_name:
description: 'The name of the sandbox if any'
required: false
task:
description: 'The task for taqueria to run'
required: false
test_plugin:
description: If set, taqueria will run tests with using the specified plugin. Ensure that the specified plugin is installed. These test will always be run after all other jobs.
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.compile_contracts }}
- ${{ inputs.compile_plugin }}
- ${{ inputs.deploy_contracts }}
- ${{ inputs.environment }}
- ${{ inputs.plugins }}
- ${{ inputs.project_directory }}
- ${{ inputs.sandbox_name }}
- ${{ inputs.task }}
- ${{ inputs.test_plugin }}