-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (32 loc) · 1.02 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ci
on: push
jobs:
update:
runs-on: ubuntu-22.04
name: Node 20
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install
- run: yarn build
- name: Test Itself (Random Socket)
id: ssh-socket-action-random
uses: ./
with:
host: github.com
key: ${{ secrets.BASE64_INTENTIONAL_EXAMPLE_PUBLIC_SECRET_KEY }}
- name: Use SSH socket (Random Socket)
run: ls -l "${{ steps.ssh-socket-action-random.outputs.socket-path }}"
- name: Test Itself (Specified Socket)
id: ssh-socket-action-specified
uses: ./
with:
host: github.com
socket-path: '/tmp/ssh_agent.sock'
key: ${{ secrets.BASE64_INTENTIONAL_EXAMPLE_PUBLIC_SECRET_KEY }}
- name: Use SSH socket (Specified Socket)
run: ls -l "${{ steps.ssh-socket-action-specified.outputs.socket-path }}"