diff --git a/.github/workflows/reusable-verify.yml b/.github/workflows/reusable-verify.yml index 38ca0f6..0dfb15c 100644 --- a/.github/workflows/reusable-verify.yml +++ b/.github/workflows/reusable-verify.yml @@ -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 }}