mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-19 21:58:08 +00:00
Initial commit
This commit is contained in:
commit
67c82a2422
10 changed files with 210 additions and 0 deletions
32
action.yaml
Normal file
32
action.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue