ci: fixes for yml

This commit is contained in:
mahee96
2026-02-25 00:30:07 +05:30
parent 9efea00d09
commit eb251b89c9
2 changed files with 6 additions and 10 deletions

View File

@@ -13,6 +13,7 @@ jobs:
build:
runs-on: macos-26
env:
HAS_DEPLOY_KEY: ${{ secrets.CROSS_REPO_PUSH_KEY }}
RELEASE_NAME: Alpha
CHANNEL: alpha
UPSTREAM_CHANNEL: "nightly"
@@ -172,9 +173,7 @@ jobs:
path: SideStore.dSYMs.zip
- uses: actions/checkout@v4
if: >
steps.build_gate.outputs.should_skip != 'true' &&
secrets.CROSS_REPO_PUSH_KEY != ''
if: steps.build_gate.outputs.should_skip != 'true' && env.HAS_PUSH_KEY != ''
with:
repository: "SideStore/apps-v2.json"
ref: "main"
@@ -185,9 +184,7 @@ jobs:
# deploy
# --------------------------------------------------
- name: Deploy
if: >
steps.build_gate.outputs.should_skip != 'true' &&
secrets.CROSS_REPO_PUSH_KEY != ''
if: steps.build_gate.outputs.should_skip != 'true' && env.HAS_PUSH_KEY != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |

View File

@@ -15,6 +15,7 @@ jobs:
build:
runs-on: macos-26
env:
HAS_DEPLOY_KEY: ${{ secrets.CROSS_REPO_PUSH_KEY }}
RELEASE_NAME: Nightly
CHANNEL: nightly
UPSTREAM_CHANNEL: ""
@@ -210,9 +211,7 @@ jobs:
path: SideStore.dSYMs.zip
- uses: actions/checkout@v4
if: >
steps.build_gate.outputs.should_skip != 'true' &&
secrets.CROSS_REPO_PUSH_KEY != ''
if: steps.build_gate.outputs.should_skip != 'true' && env.HAS_PUSH_KEY != ''
with:
repository: "SideStore/apps-v2.json"
ref: "main"
@@ -223,7 +222,7 @@ jobs:
# deploy
# --------------------------------------------------
- name: Deploy
if: steps.build_gate.outputs.should_skip != 'true' && secrets.CROSS_REPO_PUSH_KEY != ''
if: steps.build_gate.outputs.should_skip != 'true' && env.HAS_PUSH_KEY != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |