Use local path to action for CI

This commit is contained in:
mtkennerly 2020-07-10 20:45:50 -04:00
parent 67c82a2422
commit 59b9ff5603
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: mtkennerly/dunamai-action@v1
- uses: .
with:
env-var: MY_VERSION
args: --style semver
@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: mtkennerly/dunamai-action@v1
- uses: .
with:
install: '1.2.0'
env-var: MY_VERSION

View file

@ -3,6 +3,8 @@ This repository provides a GitHub Action that uses
[Dunamai](https://github.com/mtkennerly/dunamai)
to determine a dynamic version from your VCS tags.
This requires access to Python in the workflow.
## Inputs
* `install` (optional, default: `"latest"`):
Version of Dunamai to install (e.g., "1.3.0").