Files
katrain-qt/.github/actions/get-version/action.yml
T
6fc47abb35 1.17rc1 (#748)
*    human-like model
*   kivy 2
*  uv
* window location fix
* macosx package no thanks to jules who is a derp, but cloud is hapl and fix.
* settings gui a bit clearer
* better ci i hope


---------

Co-authored-by: TuNanTang <tunantang@aliyun.com>
Co-authored-by: jtkelm2 <feryllcuber@gmail.com>
2025-06-11 14:37:24 +02:00

17 lines
506 B
YAML

name: 'Get KaTrain Version'
description: 'Extract version from katrain.core.constants'
outputs:
version:
description: 'The version string'
value: ${{ steps.version.outputs.version }}
runs:
using: 'composite'
steps:
- name: Get app version
id: version
shell: bash
run: |
version=$(python -c 'from katrain.core.constants import VERSION; print(VERSION)')
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "KATRAIN_VERSION=$version" >> "$GITHUB_ENV"