diff --git a/.github/update_clients.sh b/.github/update_clients.sh index 09641b42..40e6d954 100755 --- a/.github/update_clients.sh +++ b/.github/update_clients.sh @@ -12,3 +12,4 @@ function updateClient() { updateClient "apple" updateClient "android" +updateClient "desktop" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42dd3295..b30ac60d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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