Merge pull request #54 from daspn/dependabot/npm_and_yarn/debug-4.3.4 #152
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
name: SSH Tests | |
on: | |
- push | |
- pull_request_target | |
env: | |
PRIVATE_CUSTOM_ACTIONS: '["daspn/private-custom-action-2@master"]' | |
jobs: | |
ssh-key-provided: | |
name: SSH Private Key Provided Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Private actions checkout | |
uses: ./ | |
with: | |
actions_list: ${{ env.PRIVATE_CUSTOM_ACTIONS }} | |
checkout_base_path: ./.github/actions | |
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Say hello | |
uses: ./.github/actions/private-custom-action-2 | |
with: | |
who_to_greet: World | |
no-ssh-key-provided: | |
name: No SSH Private Key Provided Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Private actions checkout | |
uses: ./ | |
with: | |
actions_list: ${{ env.PRIVATE_CUSTOM_ACTIONS }} | |
checkout_base_path: ./.github/actions | |
- name: Say hello | |
uses: ./.github/actions/private-custom-action-2 | |
with: | |
who_to_greet: World |