Skip to content

Commit

Permalink
Create reuse.yml
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
cgalunza authored Jan 24, 2024
1 parent a1d8360 commit 60886b9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Reuse other workflow

on: [workflow_dispatch]

jobs:
call-workflow:
uses: ./.github/workflows/reusable.yml
with:
who-to-greet: '@octocat'

use-output:
runs-on: ubuntu-latest
needs: [call-workflow]
steps:
- run: echo "Time was ${{ needs.call-workflow.outputs.current-time }}"

0 comments on commit 60886b9

Please sign in to comment.