Skip to content

Tweak ssh workflow

Tweak ssh workflow #2

Workflow file for this run

name: ssh
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

Check failure on line 9 in .github/workflows/ssh.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ssh.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
- name: Setup upterm session
uses: lhotari/action-upterm@v1
with:
## Testing ssh access to macos cloud machine
## limits ssh access and adds the ssh public key for the user which triggered the workflow
limit-access-to-actor: true
## limits ssh access and adds the ssh public keys of the listed GitHub users
limit-access-to-users: oleg-alexandrov
## If no one connects after 5 minutes, shut down server.
wait-timeout-minutes: 5
- name: Cache conda
id: cache-conda
uses: actions/cache@v3
env:
cache-name: cache-conda
with:
path: |
~/miniconda3
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/miniconda.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-