Skip to content

Commit 5db9b49

Browse files
committed
Include AutoSplit version in generated artifact
1 parent a7c0a4d commit 5db9b49

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Diff for: .github/workflows/lint-and-build.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,10 @@ jobs:
7777
os: [windows-latest, ubuntu-22.04]
7878
python-version: ["3.13"]
7979
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
8182
- os: ubuntu-22.04
8283
python-version: "3.11"
83-
- os: ubuntu-22.04
84-
python-version: "3.12"
8584
steps:
8685
- uses: actions/checkout@v4
8786
- name: Set up uv for Python ${{ matrix.python-version }}
@@ -109,10 +108,15 @@ jobs:
109108
shell: pwsh
110109
- name: Add empty profile
111110
run: echo "" > dist/settings.toml
111+
- name: Extract AutoSplit version
112+
id: autosplit_version
113+
run: |
114+
$Env:AUTOSPLIT_VERSION=uv run python -c "import utils; print(utils.AUTOSPLIT_VERSION)"
115+
echo "AUTOSPLIT_VERSION=$Env:AUTOSPLIT_VERSION" >> $Env:GITHUB_OUTPUT
112116
- name: Upload Build Artifact
113117
uses: actions/upload-artifact@v4
114118
with:
115-
name: AutoSplit for ${{ matrix.os }} (Python ${{ matrix.python-version }})
119+
name: AutoSplit v${{ steps.autosplit_version.outputs.AUTOSPLIT_VERSION }} for ${{ matrix.os }} (Python ${{ matrix.python-version }})
116120
path: |
117121
dist/AutoSplit*
118122
dist/settings.toml

0 commit comments

Comments
 (0)