the-actions-org/workflow-dispatch/actions/runs/9578071921/envs/trunk #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Named run | |
run-name: ${{ inputs.run-name }} | |
on: | |
workflow_dispatch: | |
inputs: | |
run-name: | |
description: 'The distinct run name used to retrieve the run ID. Defaults to the workflow name' | |
type: string | |
required: false | |
environment: | |
description: 'The environment name' | |
type: string | |
required: true | |
jobs: | |
echo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sleep | |
run: sleep 10s | |
- name: Echo message | |
run: | | |
echo '### Env: ${{ github.event.inputs.environment }} ###' |