Skip to content

Commit

Permalink
ci(github): create reusable-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark authored Oct 10, 2024
1 parent a40b779 commit 9eb2c6d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/reusable-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://docs.github.com/en/actions/sharing-automations/reusing-workflows#example-reusable-workflow
name: Reusable workflow

on:
workflow_call:
inputs:
message:
required: true
type: string

jobs:
reusable-workflow:
runs-on: ubuntu-latest
steps:
- name: Print "${{ inputs.message }}"
run: echo ${{ inputs.message }}

0 comments on commit 9eb2c6d

Please sign in to comment.