-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
35 lines (33 loc) · 1.09 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
name: 'Solidity exporter action'
description: 'An action to generate npm packages based on Solidity interfaces, contracts and libraries'
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
default: 'solidity/libraries'
export_type:
description: '`interface` for exporting only the interfaces and their ABIs, `contracts` for exporting the contracts, libraries, 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'