-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d9e4c3
commit 989f4f1
Showing
1 changed file
with
0 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,12 +22,6 @@ on: | |
SSH_KEY_PEM: | ||
required: true | ||
description: SSH private key (PEM format) | ||
SSH_KEY_PKCS8: | ||
required: true | ||
description: SSH private key (PKCS8 format) | ||
SSH_KEY_RFC4716: | ||
required: true | ||
description: SSH private key (RFC4716 format) | ||
|
||
jobs: | ||
ssh-pem: | ||
|
@@ -48,42 +42,6 @@ jobs: | |
- name: git clone through SSH | ||
run: git clone [email protected]:step-security/ssh-key-action.git tmp | ||
|
||
ssh-pkcs8: | ||
name: Connect to github.com (PKCS8 format) | ||
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_PKCS8 }} | ||
known_hosts: unnecessary | ||
- name: git clone through SSH | ||
run: git clone [email protected]:step-security/ssh-key-action.git tmp | ||
|
||
ssh-rfc4716: | ||
name: Connect to github.com (RFC4716 format) | ||
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_RFC4716 }} | ||
known_hosts: unnecessary | ||
- name: git clone through SSH | ||
run: git clone [email protected]:step-security/ssh-key-action.git tmp | ||
|
||
key_if_exists_replace-key_exists: | ||
name: if_key_exists=replace / key exists | ||
runs-on: ${{ inputs.os }} | ||
|