Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
shimataro committed Oct 9, 2023
1 parent d6eeb85 commit 7922194
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/reusable-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,25 @@ jobs:
- name: git clone through SSH
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:
name: Connect to github.com (PKCS8 format)
runs-on: ${{ inputs.os }}
Expand Down

0 comments on commit 7922194

Please sign in to comment.