ssh-agent-action/.github/workflows/demo.yml
Matthias Pigulla e181806200
Use $HOME to support OS X as well (#2)
This fixes #1. Windows is currently not supported.
2019-09-15 09:32:43 +02:00

19 lines
466 B
YAML

on: [push, pull_request]
jobs:
load_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 }}
- run: |
ssh-add -l
echo SSH_AUTH_SOCK is at $SSH_AUTH_SOCK