mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-04-21 13:58:43 +00:00
Add an example workflow that can be used for testing as well
This commit is contained in:
parent
e9cec5c598
commit
13fedf7287
1 changed files with 18 additions and 0 deletions
18
.github/workflows/demo.yml
vendored
Normal file
18
.github/workflows/demo.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
load_key_demo:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Setup key
|
||||
uses: webfactory/ssh-agent@master
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.DEMO_KEY }}
|
||||
- run: |
|
||||
ssh-add -l
|
||||
printenv
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue