Skip to content

Commit

Permalink
[skip ci] Add input for runs-on
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Apr 16, 2024
1 parent 350344a commit 2a6f34f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ssh.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: Try ssh action
on:
workflow_dispatch:
inputs:
runs-on:
description: 'Runs on'
required: true
type: string
default: 'macos-latest'

jobs:
# ssh-ubuntu:
# runs-on: ubuntu-18.04
# steps:
# - uses: mxschmitt/action-tmate@v1
ssh-macos-11:
runs-on: macos-11
steps:
- uses: mxschmitt/action-tmate@v3
ssh-macos-12:
runs-on: macos-12
ssh-macos:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: mxschmitt/action-tmate@v3

0 comments on commit 2a6f34f

Please sign in to comment.