2020-07-10 22:58:21 -04:00
|
|
|
name: Run Dunamai
|
2020-07-10 20:43:29 -04:00
|
|
|
description: |
|
|
|
|
Use Dunamai to determine a dynamic version from your VCS tags.
|
|
|
|
This requires access to Python in the workflow.
|
2020-07-10 22:58:21 -04:00
|
|
|
branding:
|
|
|
|
icon: terminal
|
|
|
|
color: purple
|
2020-07-10 20:43:29 -04:00
|
|
|
inputs:
|
|
|
|
install:
|
|
|
|
description: |
|
2022-10-31 14:04:38 +08:00
|
|
|
Version of Dunamai to install (e.g., "1.13.2").
|
2020-07-10 20:43:29 -04:00
|
|
|
Use the default if you don't need a specific version,
|
|
|
|
or use "none" if your workflow installs Dunamai by other means.
|
|
|
|
required: false
|
|
|
|
default: latest
|
|
|
|
env-var:
|
|
|
|
description: |
|
|
|
|
Name of environment variable in which to set the dynamic version.
|
|
|
|
If this is empty, no environment variable will be set.
|
|
|
|
required: false
|
|
|
|
default: ''
|
|
|
|
command:
|
|
|
|
description: Command to run Dunamai.
|
|
|
|
required: false
|
|
|
|
default: 'dunamai from any'
|
|
|
|
args:
|
|
|
|
description: Additional arguments to pass to the command.
|
|
|
|
required: false
|
|
|
|
default: ''
|
|
|
|
outputs:
|
|
|
|
version:
|
|
|
|
description: The dynamic version.
|
|
|
|
runs:
|
2022-10-31 14:04:38 +08:00
|
|
|
using: node16
|
2020-10-08 22:11:18 -04:00
|
|
|
main: public/index.js
|