mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-18 13:21:13 +00:00
35 lines
963 B
YAML
35 lines
963 B
YAML
name: Run Dunamai
|
|
description: |
|
|
Use Dunamai to determine a dynamic version from your VCS tags.
|
|
This requires access to Python in the workflow.
|
|
branding:
|
|
icon: terminal
|
|
color: purple
|
|
inputs:
|
|
install:
|
|
description: |
|
|
Version of Dunamai to install (e.g., "1.3.0").
|
|
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:
|
|
using: node12
|
|
main: dist/index.js
|