CI: not use dunamai github action as it uses plain pip, not uv pip
Some checks failed
/ build (push) Failing after 6s
/ test (push) Failing after 2s

This commit is contained in:
phil 2025-02-25 03:04:14 +01:00
parent 6f060dc2bf
commit 22d0a9852c

View file

@ -28,19 +28,13 @@ jobs:
run: .venv/bin/pytest -s tests/basic.py run: .venv/bin/pytest -s tests/basic.py
- name: Get version - name: Get version
uses: mtkennerly/dunamai-action@v1 run: echo "VERSION=$(.venv/bin/dunamai --style semver)" >> $GITHUB_ENV
with:
args: --style semver
env-var: VERSION
- name: Version - name: Version
run: echo $VERSION run: echo $VERSION
- name: Get distance from tag - name: Get distance from tag
uses: mtkennerly/dunamai-action@v1 run: echo "DISTANCE=$(.venv/bin/dunamai --format '{distance}')" >> $GITHUB_ENV
with:
args: --format "{distance}"
env-var: DISTANCE
- name: Distance - name: Distance
run: echo $DISTANCE run: echo $DISTANCE