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>
This commit is contained in:
44 files changed
+2992
-1698
No files matched your search
@@ -0,0 +1,17 @@
|
||||
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"
|
||||
@@ -0,0 +1,44 @@
|
||||
name: 'Setup Python and uv'
|
||||
description: 'Common setup for Python, uv, and dependencies'
|
||||
inputs:
|
||||
python-version:
|
||||
description: 'Python version to set up'
|
||||
required: false
|
||||
default: '3.11'
|
||||
sync-groups:
|
||||
description: 'uv sync groups'
|
||||
required: false
|
||||
default: ''
|
||||
install-pyinstaller:
|
||||
description: 'Install PyInstaller'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ inputs.python-version }}
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
version: "0.7.8"
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
if [ -n "${{ inputs.sync-groups }}" ]; then
|
||||
uv sync --group ${{ inputs.sync-groups }}
|
||||
else
|
||||
uv sync
|
||||
fi
|
||||
|
||||
- name: Install PyInstaller
|
||||
if: inputs.install-pyinstaller == 'true'
|
||||
shell: bash
|
||||
run: uv pip install pyinstaller
|
||||
Reference in new issue
Block a user