mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-22 01:00:50 +00:00
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
on: [push, pull_request]
|
|
|
|
jobs:
|
|
single_key_demo:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macOS-latest, windows-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]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Setup key
|
|
uses: ./
|
|
with:
|
|
ssh-private-key: ${{ secrets.DEMO_KEY }}
|
|
|
|
docker_demo:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ubuntu:latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- run: apt update && apt install -y openssh-client
|
|
- name: Setup key
|
|
uses: ./
|
|
with:
|
|
ssh-private-key: |
|
|
${{ secrets.DEMO_KEY }}
|
|
${{ secrets.DEMO_KEY_2 }}
|