ebook2audiobook / .github /workflows /custom-command.yml
priteshmistry's picture
Upload 9 files
93e3906 verified
raw
history blame contribute delete
398 Bytes
name: Custom Command Runner
on:
workflow_dispatch:
inputs:
custom_command:
description: 'Enter a shell command to run on self-hosted Mac'
required: true
default: 'echo Hello from Mac!'
jobs:
CustomCommand:
runs-on: [self-hosted, macos]
steps:
- name: Run Custom Command
run: |
eval "${{ github.event.inputs.custom_command }}"