mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-03-13 14:59:07 +08:00
Support multiple SSH keys (#14)
* Support concatenation of multiple private keys in the given secret * Add a changelog
This commit is contained in:
22
.github/workflows/demo.yml
vendored
22
.github/workflows/demo.yml
vendored
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user