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:
10
.github/workflows/nightly.yml
vendored
10
.github/workflows/nightly.yml
vendored
@@ -14,10 +14,6 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-26
|
runs-on: macos-26
|
||||||
strategy:
|
|
||||||
fail-fast: true
|
|
||||||
matrix:
|
|
||||||
xcode-version: ['26.2']
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -58,7 +54,7 @@ jobs:
|
|||||||
- name: Setup Xcode
|
- name: Setup Xcode
|
||||||
uses: maxim-lobanov/setup-xcode@v1.6.0
|
uses: maxim-lobanov/setup-xcode@v1.6.0
|
||||||
with:
|
with:
|
||||||
xcode-version: ${{ matrix.xcode-version }}
|
xcode-version: '26.2'
|
||||||
|
|
||||||
- name: Restore Cache
|
- name: Restore Cache
|
||||||
id: xcode-cache
|
id: xcode-cache
|
||||||
@@ -162,10 +158,10 @@ jobs:
|
|||||||
python3 scripts/ci/workflow.py deploy \
|
python3 scripts/ci/workflow.py deploy \
|
||||||
Dependencies/apps-v2.json \
|
Dependencies/apps-v2.json \
|
||||||
"_includes/source.json" \
|
"_includes/source.json" \
|
||||||
nightly \
|
"${{ env.ref_name }}" \
|
||||||
"$SHORT_COMMIT" \
|
"$SHORT_COMMIT" \
|
||||||
"$MARKETING_VERSION" \
|
"$MARKETING_VERSION" \
|
||||||
"$VERSION" \
|
"$VERSION" \
|
||||||
"${{ github.ref_name }}" \
|
"${{ env.ref_name }}" \
|
||||||
"com.SideStore.SideStore" \
|
"com.SideStore.SideStore" \
|
||||||
"SideStore.ipa"
|
"SideStore.ipa"
|
||||||
@@ -7,6 +7,7 @@ from pathlib import Path
|
|||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
||||||
# REPO ROOT relative to script dir
|
# REPO ROOT relative to script dir
|
||||||
ROOT = Path(__file__).resolve().parents[2]
|
ROOT = Path(__file__).resolve().parents[2]
|
||||||
|
|
||||||
@@ -288,7 +289,7 @@ COMMANDS = {
|
|||||||
# ----------------------------------------------------------
|
# ----------------------------------------------------------
|
||||||
# VERSION / MARKETING
|
# VERSION / MARKETING
|
||||||
# ----------------------------------------------------------
|
# ----------------------------------------------------------
|
||||||
"get-marketing-version" : (set_marketing_version, 1, "<qualified_version>"),
|
"get-marketing-version" : (get_marketing_version, 0, ""),
|
||||||
"set-marketing-version" : (set_marketing_version, 1, "<qualified_version>"),
|
"set-marketing-version" : (set_marketing_version, 1, "<qualified_version>"),
|
||||||
"compute-qualified" : (compute_qualified_version, 4, "<marketing> <build_num> <channel> <short_commit>"),
|
"compute-qualified" : (compute_qualified_version, 4, "<marketing> <build_num> <channel> <short_commit>"),
|
||||||
"reserve_build_number" : (reserve_build_number, 1, "<repo>"),
|
"reserve_build_number" : (reserve_build_number, 1, "<repo>"),
|
||||||
|
|||||||
Reference in New Issue
Block a user