Initial commit

This commit is contained in:
mtkennerly 2020-07-10 20:43:29 -04:00
commit 67c82a2422
10 changed files with 210 additions and 0 deletions

32
action.yaml Normal file
View file

@ -0,0 +1,32 @@
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