CI: improve more ci worflow

This commit is contained in:
mahee96
2026-02-24 03:13:55 +05:30
parent 675bdc63ae
commit 97b04094eb
2 changed files with 4 additions and 4 deletions

View File

@@ -167,10 +167,10 @@ jobs:
python3 scripts/ci/workflow.py deploy \
Dependencies/apps-v2.json \
"_includes/source.json" \
"${{ env.ref_name }}" \
"${{ env.ref }}" \
"$SHORT_COMMIT" \
"$MARKETING_VERSION" \
"$VERSION" \
"${{ env.ref_name }}" \
"${{ env.ref }}" \
"com.SideStore.SideStore" \
"SideStore.ipa"

View File

@@ -264,8 +264,8 @@ def deploy(repo, source_json, release_tag, short_commit, marketing_version, vers
run(f"pushd {repo}", check=True)
try:
# source_json is RELATIVE to repo
if not Path(source_json).exists():
source_path = repo / source_json
if not source_path.exists():
raise SystemExit(f"{source_json} missing inside repo")
run(