CI: WIP
Some checks failed
/ build (push) Failing after 9s
/ test (push) Successful in 5s

This commit is contained in:
phil 2025-02-25 04:31:31 +01:00
parent 821df02758
commit c5b1bdeda9

View file

@ -28,14 +28,16 @@ jobs:
run: .venv/bin/pytest -s tests/basic.py run: .venv/bin/pytest -s tests/basic.py
- name: Get version - name: Get version
run: | run: echo "VERSION=$(.venv/bin/dunamai from any --style semver)" >> $GITHUB_ENV
echo "VERSION=$(.venv/bin/dunamai from any --style semver)" >> $GITHUB_ENV
echo $VERSION - name: Version
run: echo $VERSION
- name: Get distance from tag - name: Get distance from tag
run: | run: echo "DISTANCE=$(.venv/bin/dunamai from any --format '{distance}')" >> $GITHUB_ENV
echo "DISTANCE=$(.venv/bin/dunamai from any --format '{distance}')" >> $GITHUB_ENV
echo $DISTANCE - name: Distance
run: echo $DISTANCE
- name: Workaround for bug of podman-login - name: Workaround for bug of podman-login
if: env.DISTANCE == '0' if: env.DISTANCE == '0'