mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
add test
This commit is contained in:
parent
d6eeb85df6
commit
792219430c
1 changed files with 19 additions and 0 deletions
19
.github/workflows/reusable-verify.yml
vendored
19
.github/workflows/reusable-verify.yml
vendored
|
@ -67,6 +67,25 @@ jobs:
|
||||||
- name: git clone through SSH
|
- name: git clone through SSH
|
||||||
run: git clone git@bitbucket.org:shimataro999/ssh-test.git tmp
|
run: git clone git@bitbucket.org:shimataro999/ssh-test.git tmp
|
||||||
|
|
||||||
|
ssh-pem-keep-dir:
|
||||||
|
name: Connect to github.com (PEM format) and keeps .ssh directory on exit
|
||||||
|
runs-on: ${{ inputs.os }}
|
||||||
|
container: ${{ inputs.docker_image }}
|
||||||
|
steps:
|
||||||
|
- name: Install packages
|
||||||
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
if: ${{ inputs.package_installation_command != '' }}
|
||||||
|
- name: Checkout source codes
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install SSH key
|
||||||
|
uses: ./.
|
||||||
|
with:
|
||||||
|
key: ${{ secrets.SSH_KEY_PEM }}
|
||||||
|
known_hosts: unnecessary
|
||||||
|
keep_ssh_dir: true
|
||||||
|
- name: git clone through SSH
|
||||||
|
run: git clone git@github.com:shimataro/ssh-key-action.git tmp
|
||||||
|
|
||||||
ssh-pkcs8:
|
ssh-pkcs8:
|
||||||
name: Connect to github.com (PKCS8 format)
|
name: Connect to github.com (PKCS8 format)
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue