Unnest ssh-checkout action | Remove unnecessary SSH key additions
This commit is contained in:
14
.github/actions/ssh-checkout/action.yml
vendored
14
.github/actions/ssh-checkout/action.yml
vendored
@@ -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 }}
|
||||
10
.github/actions/toolchain-build/action.yml
vendored
10
.github/actions/toolchain-build/action.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user