Adding function for initializing ssh key for cloning private manifest, device tree, and common tree
This commit is contained in:
parent
d3b2a13fa2
commit
419f800d36
7
.github/workflows/Recovery Build.yml
vendored
7
.github/workflows/Recovery Build.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user