Files
export-xlsx/tests/v1.0/tests.yaml
Nathan Coad 145af7dbdc
All checks were successful
continuous-integration/drone Build is passing
[ci skip] functionbuilder again
2023-11-21 15:31:31 +11:00

30 lines
637 B
YAML

url: ""
functions:
- type: knative-workflow
id: export-xlsx
image: registry.coadcorp.com/export-xlsx:test
states:
- id: state0
type: action
action:
function: export-xlsx
input:
out-filename: example.xlsx
sheets:
- input-file:
- data: jq(.input)
name: input.json
name: TestSpreadsheet
transition: state1
- id: state1
type: action
action:
function: export-xlsx
input:
out-filename: example.xlsx
sheets:
- input-file:
- data: 'jq(.array | {input: . } | tostring ) '
name: input.json
name: TestSpreadsheet