From af04388aeac5050c1543d0d4ab7db99805a5d70b Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Tue, 24 Feb 2026 01:20:37 +0530 Subject: [PATCH] CI: improve more ci worflow --- .github/workflows/nightly.yml | 10 +++------- scripts/ci/workflow.py | 3 ++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 285c2bf3..78204302 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,10 +14,6 @@ concurrency: jobs: build: runs-on: macos-26 - strategy: - fail-fast: true - matrix: - xcode-version: ['26.2'] steps: - uses: actions/checkout@v4 @@ -58,7 +54,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: ${{ matrix.xcode-version }} + xcode-version: '26.2' - name: Restore Cache id: xcode-cache @@ -162,10 +158,10 @@ jobs: python3 scripts/ci/workflow.py deploy \ Dependencies/apps-v2.json \ "_includes/source.json" \ - nightly \ + "${{ env.ref_name }}" \ "$SHORT_COMMIT" \ "$MARKETING_VERSION" \ "$VERSION" \ - "${{ github.ref_name }}" \ + "${{ env.ref_name }}" \ "com.SideStore.SideStore" \ "SideStore.ipa" \ No newline at end of file diff --git a/scripts/ci/workflow.py b/scripts/ci/workflow.py index 1aa7fbd5..c7cb77d9 100644 --- a/scripts/ci/workflow.py +++ b/scripts/ci/workflow.py @@ -7,6 +7,7 @@ from pathlib import Path import time import json + # REPO ROOT relative to script dir ROOT = Path(__file__).resolve().parents[2] @@ -288,7 +289,7 @@ COMMANDS = { # ---------------------------------------------------------- # VERSION / MARKETING # ---------------------------------------------------------- - "get-marketing-version" : (set_marketing_version, 1, ""), + "get-marketing-version" : (get_marketing_version, 0, ""), "set-marketing-version" : (set_marketing_version, 1, ""), "compute-qualified" : (compute_qualified_version, 4, " "), "reserve_build_number" : (reserve_build_number, 1, ""),