Support multiple SSH keys (#14)

* Support concatenation of multiple private keys in the given secret

* Add a changelog
This commit is contained in:
Matthias Pigulla authored and GitHub committed 2020-01-14 10:21:11 +01:00
1 parent ea39f521c5
commit 6cf6299d23
5 files changed
+73 -17

No files matched your search

+17 -5
View File
@@ -1,7 +1,21 @@
on: [push, pull_request]
jobs:
load_key_demo:
single_key_demo:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Setup key
uses: ./
with:
ssh-private-key: |
${{ secrets.DEMO_KEY }}
${{ secrets.DEMO_KEY_2 }}
multiple_keys_demo:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
@@ -12,8 +26,6 @@ jobs:
uses: ./
with:
ssh-private-key: ${{ secrets.DEMO_KEY }}
- run: |
ssh-add -l
echo SSH_AUTH_SOCK is at $SSH_AUTH_SOCK