mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-06 17:59:11 +00:00
Make release.yml available in forks (#1689)
This commit is contained in:
@@ -6,17 +6,14 @@ on:
|
|||||||
core_run_id:
|
core_run_id:
|
||||||
description: 'The run id of EasyTier-Core Action in EasyTier repo'
|
description: 'The run id of EasyTier-Core Action in EasyTier repo'
|
||||||
type: number
|
type: number
|
||||||
default: 10322498549
|
|
||||||
required: true
|
required: true
|
||||||
gui_run_id:
|
gui_run_id:
|
||||||
description: 'The run id of EasyTier-GUI Action in EasyTier repo'
|
description: 'The run id of EasyTier-GUI Action in EasyTier repo'
|
||||||
type: number
|
type: number
|
||||||
default: 10322498557
|
|
||||||
required: true
|
required: true
|
||||||
mobile_run_id:
|
mobile_run_id:
|
||||||
description: 'The run id of EasyTier-Mobile Action in EasyTier repo'
|
description: 'The run id of EasyTier-Mobile Action in EasyTier repo'
|
||||||
type: number
|
type: number
|
||||||
default: 10322498555
|
|
||||||
required: true
|
required: true
|
||||||
version:
|
version:
|
||||||
description: 'Version for this release'
|
description: 'Version for this release'
|
||||||
@@ -34,7 +31,6 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
if: contains('["KKRainbow"]', github.actor)
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
@@ -46,7 +42,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{ inputs.core_run_id }}
|
run_id: ${{ inputs.core_run_id }}
|
||||||
repo: EasyTier/EasyTier
|
repo: ${{ github.repository }}
|
||||||
path: release_assets
|
path: release_assets
|
||||||
|
|
||||||
- name: Download GUI Artifact
|
- name: Download GUI Artifact
|
||||||
@@ -54,7 +50,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{ inputs.gui_run_id }}
|
run_id: ${{ inputs.gui_run_id }}
|
||||||
repo: EasyTier/EasyTier
|
repo: ${{ github.repository }}
|
||||||
path: release_assets_nozip
|
path: release_assets_nozip
|
||||||
|
|
||||||
- name: Download Mobile Artifact
|
- name: Download Mobile Artifact
|
||||||
@@ -62,7 +58,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{ inputs.mobile_run_id }}
|
run_id: ${{ inputs.mobile_run_id }}
|
||||||
repo: EasyTier/EasyTier
|
repo: ${{ github.repository }}
|
||||||
path: release_assets_nozip
|
path: release_assets_nozip
|
||||||
|
|
||||||
- name: Zip release assets
|
- name: Zip release assets
|
||||||
|
|||||||
Reference in New Issue
Block a user