mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-06-27 21:23:46 +00:00
Support container-based workflows and Windows (#17)
This commit is contained in:
parent
79096d29b0
commit
edc2fe4f2e
3 changed files with 47 additions and 9 deletions
16
.github/workflows/demo.yml
vendored
16
.github/workflows/demo.yml
vendored
|
@ -4,7 +4,7 @@ jobs:
|
|||
single_key_demo:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest]
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -26,3 +26,17 @@ jobs:
|
|||
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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue