diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6996ab51..22c8ec44 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -78,6 +78,7 @@ jobs: python3 scripts/ci/workflow.py clean-spm-cache - name: Boot simulator (async) + if: ${{ vars.ENABLE_TESTS == '1' && vars.ENABLE_TESTS_RUN == '1' }} run: | mkdir -p build/logs python3 scripts/ci/workflow.py boot-sim-async "iPhone 17 Pro" diff --git a/scripts/ci/workflow.py b/scripts/ci/workflow.py index 18ccb3b9..ef4399a6 100644 --- a/scripts/ci/workflow.py +++ b/scripts/ci/workflow.py @@ -78,8 +78,6 @@ def reserve_build_number(repo, max_attempts=5): version_json.write_text(json.dumps(data, indent=2) + "\n") return data - return json.loads(version_json.read_text()) - def write(data): version_json.write_text(json.dumps(data, indent=2) + "\n")