forked from defi-wonderland/solidity-exporter-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
40 lines (38 loc) · 1.19 KB
/
action.yml
File metadata and controls
40 lines (38 loc) · 1.19 KB
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
name: 'Solidity exporter action'
description: 'An action to generate npm packages based on Solidity interfaces and contracts'
author: 'Wonderland'
inputs:
package_name:
description: 'name of the package to be published'
required: true
out:
description: 'path to the `out` folder containing the compiled contracts'
required: false
default: 'out'
interfaces:
description: 'path to the interfaces directory'
required: false
default: 'solidity/interfaces'
contracts:
description: 'path to the contracts directory'
required: false
default: 'solidity/contracts'
libraries:
description: 'path to the libraries directory'
required: false
scripts:
description: 'path to the scripts directory'
required: false
tests:
description: 'path to the tests directory'
required: false
export_type:
description: '`interface` for exporting only the interfaces and their ABIs, `contracts` for exporting the contracts, interfaces and their ABIs as well'
required: false
default: 'interfaces'
outputs:
exported:
description: 'boolean describing package was exported successfully or not'
runs:
using: 'node20'
main: 'dist/index.js'