mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00:00
Add desktop client dev branch support
This commit is contained in:
@@ -12,3 +12,4 @@ function updateClient() {
|
||||
|
||||
updateClient "apple"
|
||||
updateClient "android"
|
||||
updateClient "desktop"
|
||||
|
||||
@@ -965,8 +965,11 @@ jobs:
|
||||
- name: Checkout desktop client
|
||||
run: git submodule update --init clients/desktop
|
||||
- name: Checkout main branch
|
||||
if: github.ref == 'refs/heads/testing'
|
||||
if: github.ref == 'refs/heads/stable' && github.event_name != 'workflow_dispatch'
|
||||
run: git -C clients/desktop checkout main
|
||||
- name: Checkout dev branch
|
||||
if: github.ref == 'refs/heads/testing'
|
||||
run: git -C clients/desktop checkout dev
|
||||
- name: Checkout desktop submodules
|
||||
run: git -C clients/desktop submodule update --init --recursive
|
||||
- name: Setup Go
|
||||
@@ -1074,8 +1077,11 @@ jobs:
|
||||
- name: Checkout desktop client
|
||||
run: git submodule update --init clients/desktop
|
||||
- name: Checkout main branch
|
||||
if: github.ref == 'refs/heads/testing'
|
||||
if: github.ref == 'refs/heads/stable' && github.event_name != 'workflow_dispatch'
|
||||
run: git -C clients/desktop checkout main
|
||||
- name: Checkout dev branch
|
||||
if: github.ref == 'refs/heads/testing'
|
||||
run: git -C clients/desktop checkout dev
|
||||
- name: Checkout desktop submodules
|
||||
run: git -C clients/desktop submodule update --init --recursive
|
||||
- name: Setup Go
|
||||
|
||||
Reference in New Issue
Block a user