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:
|
build:
|
||||||
runs-on: macos-26
|
runs-on: macos-26
|
||||||
env:
|
env:
|
||||||
|
HAS_DEPLOY_KEY: ${{ secrets.CROSS_REPO_PUSH_KEY }}
|
||||||
RELEASE_NAME: Alpha
|
RELEASE_NAME: Alpha
|
||||||
CHANNEL: alpha
|
CHANNEL: alpha
|
||||||
UPSTREAM_CHANNEL: "nightly"
|
UPSTREAM_CHANNEL: "nightly"
|
||||||
@@ -172,9 +173,7 @@ jobs:
|
|||||||
path: SideStore.dSYMs.zip
|
path: SideStore.dSYMs.zip
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
if: >
|
if: steps.build_gate.outputs.should_skip != 'true' && env.HAS_PUSH_KEY != ''
|
||||||
steps.build_gate.outputs.should_skip != 'true' &&
|
|
||||||
secrets.CROSS_REPO_PUSH_KEY != ''
|
|
||||||
with:
|
with:
|
||||||
repository: "SideStore/apps-v2.json"
|
repository: "SideStore/apps-v2.json"
|
||||||
ref: "main"
|
ref: "main"
|
||||||
@@ -185,9 +184,7 @@ jobs:
|
|||||||
# deploy
|
# deploy
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: >
|
if: steps.build_gate.outputs.should_skip != 'true' && env.HAS_PUSH_KEY != ''
|
||||||
steps.build_gate.outputs.should_skip != 'true' &&
|
|
||||||
secrets.CROSS_REPO_PUSH_KEY != ''
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
7
.github/workflows/nightly.yml
vendored
7
.github/workflows/nightly.yml
vendored
@@ -15,6 +15,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: macos-26
|
runs-on: macos-26
|
||||||
env:
|
env:
|
||||||
|
HAS_DEPLOY_KEY: ${{ secrets.CROSS_REPO_PUSH_KEY }}
|
||||||
RELEASE_NAME: Nightly
|
RELEASE_NAME: Nightly
|
||||||
CHANNEL: nightly
|
CHANNEL: nightly
|
||||||
UPSTREAM_CHANNEL: ""
|
UPSTREAM_CHANNEL: ""
|
||||||
@@ -210,9 +211,7 @@ jobs:
|
|||||||
path: SideStore.dSYMs.zip
|
path: SideStore.dSYMs.zip
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
if: >
|
if: steps.build_gate.outputs.should_skip != 'true' && env.HAS_PUSH_KEY != ''
|
||||||
steps.build_gate.outputs.should_skip != 'true' &&
|
|
||||||
secrets.CROSS_REPO_PUSH_KEY != ''
|
|
||||||
with:
|
with:
|
||||||
repository: "SideStore/apps-v2.json"
|
repository: "SideStore/apps-v2.json"
|
||||||
ref: "main"
|
ref: "main"
|
||||||
@@ -223,7 +222,7 @@ jobs:
|
|||||||
# deploy
|
# deploy
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
- name: 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:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user