mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-27 23:47:39 +01:00
CI: improve more ci worflow
This commit is contained in:
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
@@ -78,6 +78,7 @@ jobs:
|
|||||||
python3 scripts/ci/workflow.py clean-spm-cache
|
python3 scripts/ci/workflow.py clean-spm-cache
|
||||||
|
|
||||||
- name: Boot simulator (async)
|
- name: Boot simulator (async)
|
||||||
|
if: ${{ vars.ENABLE_TESTS == '1' && vars.ENABLE_TESTS_RUN == '1' }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build/logs
|
mkdir -p build/logs
|
||||||
python3 scripts/ci/workflow.py boot-sim-async "iPhone 17 Pro"
|
python3 scripts/ci/workflow.py boot-sim-async "iPhone 17 Pro"
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ def reserve_build_number(repo, max_attempts=5):
|
|||||||
version_json.write_text(json.dumps(data, indent=2) + "\n")
|
version_json.write_text(json.dumps(data, indent=2) + "\n")
|
||||||
return data
|
return data
|
||||||
|
|
||||||
return json.loads(version_json.read_text())
|
|
||||||
|
|
||||||
def write(data):
|
def write(data):
|
||||||
version_json.write_text(json.dumps(data, indent=2) + "\n")
|
version_json.write_text(json.dumps(data, indent=2) + "\n")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user