@@ -127,12 +127,6 @@ jobs:
127127 with :
128128 python-version : 3.13
129129
130- # TODO
131- # - name: Install GH CLI
132- # uses: dev-hanz-ops/install-gh-cli-action@v0.2.1
133- # with:
134- # gh-cli-version: 2.67.0
135-
136130 # Update apt: needed to install ccache-action
137131 - name : Update apt (Linux)
138132 if : runner.os == 'Linux'
@@ -173,33 +167,6 @@ jobs:
173167 core.exportVariable('MACOSX_DEPLOYMENT_TARGET', target);
174168 core.exportVariable('PKG_ARCH', arch);
175169
176- - name : Export version
177- shell : python
178- run : |
179- import json
180- from pathlib import Path
181- if (input_version := "${{ inputs.release-version }}"):
182- result = input_version
183- else:
184- build_settings_file = Path("build-helpers", "build-settings.json")
185- with open(build_settings_file) as in_file:
186- default_version = json.load(in_file)["DefaultVersion"]
187- result = ".".join(default_version[i] for i in ("major", "minor", "patch"))
188- if (prerelease := default_version["prerelease"]):
189- result = f"{result}-{prerelease}"
190-
191- print(f"Version: {result}")
192-
193- with open("SKVERSION", "w+") as out_file:
194- out_file.write(result)
195-
196- - name : Output version
197- id : output-version
198- shell : bash
199- run : |
200- _version=$(cat SKVERSION)
201- echo "version=${_version}" >> "$GITHUB_OUTPUT"
202-
203170 - name : Build (Windows)
204171 if : runner.os == 'Windows'
205172 shell : cmd
0 commit comments