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:
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
@@ -167,10 +167,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" \
|
||||||
"${{ env.ref_name }}" \
|
"${{ env.ref }}" \
|
||||||
"$SHORT_COMMIT" \
|
"$SHORT_COMMIT" \
|
||||||
"$MARKETING_VERSION" \
|
"$MARKETING_VERSION" \
|
||||||
"$VERSION" \
|
"$VERSION" \
|
||||||
"${{ env.ref_name }}" \
|
"${{ env.ref }}" \
|
||||||
"com.SideStore.SideStore" \
|
"com.SideStore.SideStore" \
|
||||||
"SideStore.ipa"
|
"SideStore.ipa"
|
||||||
@@ -264,8 +264,8 @@ def deploy(repo, source_json, release_tag, short_commit, marketing_version, vers
|
|||||||
|
|
||||||
run(f"pushd {repo}", check=True)
|
run(f"pushd {repo}", check=True)
|
||||||
try:
|
try:
|
||||||
# source_json is RELATIVE to repo
|
source_path = repo / source_json
|
||||||
if not Path(source_json).exists():
|
if not source_path.exists():
|
||||||
raise SystemExit(f"{source_json} missing inside repo")
|
raise SystemExit(f"{source_json} missing inside repo")
|
||||||
|
|
||||||
run(
|
run(
|
||||||
|
|||||||
Reference in New Issue
Block a user