From 1b0997cf76e5bbf0ec84c3978a0ec9591f414f6c Mon Sep 17 00:00:00 2001 From: shimataro Date: Mon, 8 Mar 2021 18:16:24 +0900 Subject: [PATCH] test on Windows / macOS --- .github/workflows/verify-on-macos.yml | 21 +++++++++++++++++++++ .github/workflows/verify-on-windows.yml | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/.github/workflows/verify-on-macos.yml b/.github/workflows/verify-on-macos.yml index 87b836f..5e8aabf 100644 --- a/.github/workflows/verify-on-macos.yml +++ b/.github/workflows/verify-on-macos.yml @@ -237,3 +237,24 @@ jobs: run: ls -l ~/.ssh - name: git clone through SSH run: git clone git@github.com:shimataro/ssh-key-action.git tmp + + no_known_hosts: + name: no known_hosts file + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - ubuntu-16.04 + - ubuntu-18.04 + - ubuntu-20.04 + steps: + - name: Checkout source codes + uses: actions/checkout@v2 + - name: Install SSH key + uses: ./. + with: + key: ${{ secrets.SSH_KEY_PEM }} + no_known_hosts: true + - name: print created files + run: ls -l ~/.ssh diff --git a/.github/workflows/verify-on-windows.yml b/.github/workflows/verify-on-windows.yml index 9a155bb..328c932 100644 --- a/.github/workflows/verify-on-windows.yml +++ b/.github/workflows/verify-on-windows.yml @@ -237,3 +237,24 @@ jobs: run: ls -l ~/.ssh - name: git clone through SSH run: git clone git@github.com:shimataro/ssh-key-action.git tmp + + no_known_hosts: + name: no known_hosts file + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - ubuntu-16.04 + - ubuntu-18.04 + - ubuntu-20.04 + steps: + - name: Checkout source codes + uses: actions/checkout@v2 + - name: Install SSH key + uses: ./. + with: + key: ${{ secrets.SSH_KEY_PEM }} + no_known_hosts: true + - name: print created files + run: ls -l ~/.ssh