Explorar o código

Merge pull request #87 from ArcticAquila/main

Add some function to SSH Key task
azwhikaru %!s(int64=2) %!d(string=hai) anos
pai
achega
7e063cedff
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      .github/workflows/Recovery Build.yml

+ 5 - 2
.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: |