Skip to content

Commit

Permalink
add sample reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pddg committed Jan 17, 2024
1 parent 2dad24a commit 8944971
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/sample_reusable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Reusable workflow

on:
workflow_call:
inputs:
value:
description: 'Value to echo'
required: true
type: string

jobs:
echo:
runs-on: ubuntu-latest
steps:
- run: echo "${{ github.event.inputs.value }}"

0 comments on commit 8944971

Please sign in to comment.