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,6 +14,8 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-26
|
runs-on: macos-26
|
||||||
|
env:
|
||||||
|
REF_NAME: nightly
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -29,7 +31,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: 'SideStore/beta-build-num'
|
repository: 'SideStore/beta-build-num'
|
||||||
ref: ${{ github.ref_name }}
|
ref: ${{ env.REF_NAME }}
|
||||||
token: ${{ secrets.CROSS_REPO_PUSH_KEY }}
|
token: ${{ secrets.CROSS_REPO_PUSH_KEY }}
|
||||||
path: 'Dependencies/beta-build-num'
|
path: 'Dependencies/beta-build-num'
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
@@ -43,7 +45,7 @@ jobs:
|
|||||||
QUALIFIED_VERSION=$(python3 scripts/ci/workflow.py compute-qualified \
|
QUALIFIED_VERSION=$(python3 scripts/ci/workflow.py compute-qualified \
|
||||||
"$MARKETING_VERSION" \
|
"$MARKETING_VERSION" \
|
||||||
"$BUILD_NUM" \
|
"$BUILD_NUM" \
|
||||||
"${{ github.ref_name }}" \
|
"${{ env.REF_NAME }}" \
|
||||||
"$SHORT_COMMIT")
|
"$SHORT_COMMIT")
|
||||||
|
|
||||||
echo "BUILD_NUM=$BUILD_NUM" | tee -a $GITHUB_ENV
|
echo "BUILD_NUM=$BUILD_NUM" | tee -a $GITHUB_ENV
|
||||||
@@ -167,10 +169,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" \
|
||||||
"${{ github.ref_name }}" \
|
"${{ 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"
|
||||||
Reference in New Issue
Block a user