Unnest ssh-checkout action | Remove unnecessary SSH key additions

This commit is contained in:
abejgonzalez
2021-10-07 23:10:53 -07:00
parent ff41808df4
commit 4584a37951
3 changed files with 114 additions and 47 deletions

View File

@@ -1,14 +0,0 @@
name: ssh-checkout
description: "Checkout code and add SSH keys to access remote build server"
runs:
using: "composite"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SERVERKEY }}
known_hosts: ${{ secrets.BUILDSERVER }}

View File

@@ -22,16 +22,18 @@ runs:
shell: bash
# brute force way to swap between riscv/esp-tools caches
- uses: actions/cache@v2
id: toolchain-build-riscv-tools
- name: Cache riscv-tools
if: ${{ inputs.tools-version == "riscv-tools" }}
uses: actions/cache@v2
id: toolchain-build-riscv-tools
with:
path: ${{ inputs.tools-version }}-install
key: ${{ steps.genkey.outputs.riscvtools-cache-key }}
- uses: actions/cache@v2
id: toolchain-build-esp-tools
- name: Cache esp-tools
if: ${{ inputs.tools-version == "esp-tools" }}
uses: actions/cache@v2
id: toolchain-build-esp-tools
with:
path: ${{ inputs.tools-version }}-install
key: ${{ steps.genkey.outputs.esptools-cache-key }}