mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-19 13:48:05 +00:00
33 lines
911 B
YAML
33 lines
911 B
YAML
![]() |
name: Dunamai
|
||
|
description: |
|
||
|
Use Dunamai to determine a dynamic version from your VCS tags.
|
||
|
This requires access to Python in the workflow.
|
||
|
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: index.js
|