mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-18 21:31:15 +00:00
Use local path to action for CI
This commit is contained in:
parent
67c82a2422
commit
59b9ff5603
2 changed files with 4 additions and 2 deletions
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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").
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue