Skip to content

Commit

Permalink
Composite action caller
Browse files Browse the repository at this point in the history
  • Loading branch information
olsido authored Jul 19, 2024
1 parent ad47cec commit cdd2342
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/6-composite-action--caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 6 - Composite Action Example

on:
workflow_dispatch:

jobs:
use-composite-action:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Echo before invoking Composite Action
run: echo "About to invoke the composite action"

- name: Run Composite Action
id: composite-action
uses: ./.github/actions/6-composite-action--definition
with:
example-input: "This is an example input"

- name: Echo the output from the composite action
run: echo "Output from composite action - ${{ steps.composite-action.outputs.example-output }}"

0 comments on commit cdd2342

Please sign in to comment.