mirror of
https://github.com/timheuer/base64-to-file
synced 2024-05-10 00:09:28 +02:00
d0e10fce50
Signed-off-by: Rui Chen <rui@chenrui.dev>
23 lines
588 B
YAML
23 lines
588 B
YAML
name: 'base64-to-file'
|
|
description: 'Takes a base64-encoded string and writes to a file.'
|
|
branding:
|
|
color: 'blue'
|
|
icon: 'file'
|
|
inputs:
|
|
fileName:
|
|
description: 'Name of the file when written to temp location'
|
|
required: true
|
|
default: 'decoded-file.file'
|
|
fileDir:
|
|
description: 'If it is set, change the output location to specific one from temp location.'
|
|
required: false
|
|
encodedString:
|
|
description: 'The base64 encoded string'
|
|
required: true
|
|
outputs:
|
|
filePath:
|
|
description: 'The temp file location'
|
|
runs:
|
|
using: 'node20'
|
|
main: 'dist/index.js'
|