Use $HOME to support OS X as well (#2)

This fixes #1. Windows is currently not supported.
This commit is contained in:
Matthias Pigulla 2019-09-15 09:32:43 +02:00 committed by GitHub
parent e9cec5c598
commit e181806200
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 8 deletions

19
.github/workflows/demo.yml vendored Normal file
View file

@ -0,0 +1,19 @@
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