CI: not use dunamai github action as it uses plain pip, not uv pip
This commit is contained in:
parent
6f060dc2bf
commit
22d0a9852c
1 changed files with 2 additions and 8 deletions
|
@ -28,19 +28,13 @@ jobs:
|
|||
run: .venv/bin/pytest -s tests/basic.py
|
||||
|
||||
- name: Get version
|
||||
uses: mtkennerly/dunamai-action@v1
|
||||
with:
|
||||
args: --style semver
|
||||
env-var: VERSION
|
||||
run: echo "VERSION=$(.venv/bin/dunamai --style semver)" >> $GITHUB_ENV
|
||||
|
||||
- name: Version
|
||||
run: echo $VERSION
|
||||
|
||||
- name: Get distance from tag
|
||||
uses: mtkennerly/dunamai-action@v1
|
||||
with:
|
||||
args: --format "{distance}"
|
||||
env-var: DISTANCE
|
||||
run: echo "DISTANCE=$(.venv/bin/dunamai --format '{distance}')" >> $GITHUB_ENV
|
||||
|
||||
- name: Distance
|
||||
run: echo $DISTANCE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue