From 419f800d36b5dadfc5879621029c48b183b5fe8a Mon Sep 17 00:00:00 2001 From: ArcticAquila Date: Sun, 17 Mar 2024 15:49:23 +0700 Subject: [PATCH] Adding function for initializing ssh key for cloning private manifest, device tree, and common tree --- .github/workflows/Recovery Build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Recovery Build.yml b/.github/workflows/Recovery Build.yml index 7630cf6ec..885dded60 100644 --- a/.github/workflows/Recovery Build.yml +++ b/.github/workflows/Recovery Build.yml @@ -83,11 +83,14 @@ jobs: java-version: '8' - name: Setup SSH Keys - if: ${{ startsWith(github.event.inputs.MANIFEST_URL, 'git@github.com') }} + if: ${{ startsWith(github.event.inputs.MANIFEST_URL, 'git@github.com') || + startsWith(github.event.inputs.DEVICE_TREE_URL, 'git@github.com') || + startsWith(github.event.inputs.COMMON_TREE_URL, 'git@github.com') }} uses: webfactory/ssh-agent@v0.5.4 with: ssh-private-key: | - ${{ secrets.SSH_PRIVATE_KEY }} + ${{ secrets.SSH_PRIVATE_KEY }} + - name: Install repo run: |