From 97b04094eb01844bffb05998808f3687314bde83 Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Tue, 24 Feb 2026 03:13:55 +0530 Subject: [PATCH] CI: improve more ci worflow --- .github/workflows/nightly.yml | 4 ++-- scripts/ci/workflow.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a045be51..6beb3fed 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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" \ No newline at end of file diff --git a/scripts/ci/workflow.py b/scripts/ci/workflow.py index edc2bc55..e9badd51 100644 --- a/scripts/ci/workflow.py +++ b/scripts/ci/workflow.py @@ -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(