Files
concrete/.github/workflows/setup/action.yml
2022-07-20 17:16:49 +02:00

22 lines
529 B
YAML

inputs:
ssh_private_key:
description: 'A ssh key to access private github repository'
required: true
runs:
using: "composite"
steps:
- name: Rust install
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Download cargo cache
uses: Swatinem/rust-cache@v1
# A SSH private key is required as some dependencies are from private repos
- name: Set ssh keys
uses: webfactory/ssh-agent@v0.5.2
with:
ssh-private-key: ${{ inputs.ssh_private_key }}