File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 type : string
1616 description : " List of Swift versions to test with."
1717 default : ' ["6.0", "6.1"]'
18- ssh_private_key :
19- type : string
20- description : " Private SSH key to use for private SwiftPM dependencies"
21- default : " "
18+ secrets :
19+ SSH_PRIVATE_KEY :
20+ required : false
2221
2322concurrency :
2423 group : ${{ github.workflow }}-${{ github.ref }}-extra-soundness
@@ -52,13 +51,13 @@ jobs:
5251 uses : actions/checkout@v4
5352
5453 - name : Set up SSH if key provided
55- if : ${{ inputs.ssh_private_key != '' }}
54+ if : ${{ secrets.SSH_PRIVATE_KEY != '' }}
5655 uses : webfactory/ssh-agent@v0.9.0
5756 with :
58- ssh-private-key : ${{ inputs.ssh_private_key }}
57+ ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
5958
6059 - name : Trust github.com
61- if : ${{ inputs.ssh_private_key != '' }}
60+ if : ${{ secrets.SSH_PRIVATE_KEY != '' }}
6261 run : |
6362 mkdir -p ~/.ssh
6463 ssh-keyscan github.com >> ~/.ssh/known_hosts
You can’t perform that action at this time.
0 commit comments