Test workflow template #9
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: Test workflow template | |
on: | |
push: | |
branches: [ "main","housten-dryrun" ] | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: "Level to log at" | |
type: choice | |
default: info | |
options: | |
- info | |
- warning | |
- debug | |
jobs: | |
echo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run a one-line script | |
run: echo "Hello this is a workflow template running log level ${{ github.event.inputs.logLevel }}" ; echo "${{ github.event.inputs.logLevel }}">> $GITHUB_STEP_SUMMARY | |
name: echo ${{ github.event.inputs.logLevel }} |