mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-27 23:47:39 +01:00
ci: fixes for yml
This commit is contained in:
9
.github/workflows/alpha.yml
vendored
9
.github/workflows/alpha.yml
vendored
@@ -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: |
|
||||
|
||||
7
.github/workflows/nightly.yml
vendored
7
.github/workflows/nightly.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user