mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
build: Move build util functions to separate file
Previously, having everything in a single file causes issues, because build.py is also called from CMake to get the version number. This only worked for users, who had "requests" installed, as this library is required in build.py.
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
||||
- name: Get version number
|
||||
id: version
|
||||
run: |
|
||||
echo "value=$(python3 -u scripts/build.py --version)" >>$GITHUB_OUTPUT
|
||||
echo "value=$(python3 -u scripts/utils.py --version)" >>$GITHUB_OUTPUT
|
||||
- name: Remove artifacts
|
||||
uses: swift-project/delete-artifact@swift
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user