@@ -77,11 +77,10 @@ jobs:
77
77
os : [windows-latest, ubuntu-22.04]
78
78
python-version : ["3.13"]
79
79
include :
80
- # I had some Qt Wayland issues on 3.12 for ubuntu-22.04 iirc. TODO: test it
80
+ # I had some Qt Wayland issues on 3.12 for ubuntu-22.04
81
+ # This should be fixed with QT_QPA_PLATFORM=xcb, but keeping it until next major upgrade
81
82
- os : ubuntu-22.04
82
83
python-version : " 3.11"
83
- - os : ubuntu-22.04
84
- python-version : " 3.12"
85
84
steps :
86
85
- uses : actions/checkout@v4
87
86
- name : Set up uv for Python ${{ matrix.python-version }}
92
91
cache-dependency-glob : " uv.lock"
93
92
python-version : ${{ matrix.python-version }}
94
93
# https://github.com/pyinstaller/pyinstaller/issues/9012
95
- - name : Set up uv for Python ${{ matrix.python-version }}
94
+ - name : Set up uv
96
95
if : ${{ matrix.os == 'ubuntu-22.04' }}
97
96
uses : astral-sh/setup-uv@v5
98
97
with :
@@ -109,10 +108,19 @@ jobs:
109
108
shell : pwsh
110
109
- name : Add empty profile
111
110
run : echo "" > dist/settings.toml
111
+ - name : Extract AutoSplit version
112
+ id : autosplit_version
113
+ working-directory : src
114
+ run : |
115
+ $Env:AUTOSPLIT_VERSION=uv run python -c "import utils; print(utils.AUTOSPLIT_VERSION)"
116
+ echo "AUTOSPLIT_VERSION=$Env:AUTOSPLIT_VERSION" >> $Env:GITHUB_OUTPUT
117
+ shell : pwsh
112
118
- name : Upload Build Artifact
113
119
uses : actions/upload-artifact@v4
114
120
with :
115
- name : AutoSplit for ${{ matrix.os }} (Python ${{ matrix.python-version }})
121
+ name : >
122
+ AutoSplit v${{ steps.autosplit_version.outputs.AUTOSPLIT_VERSION }}
123
+ for ${{ matrix.os }} (Python ${{ matrix.python-version }})
116
124
path : |
117
125
dist/AutoSplit*
118
126
dist/settings.toml
0 commit comments