From c92c361132fd9c78b0a0219d9a9e5049719953ee Mon Sep 17 00:00:00 2001 From: Climon Galunza <43302682+cgalunza@users.noreply.github.com> Date: Thu, 25 Jan 2024 13:26:39 -0600 Subject: [PATCH] Create reuse.yml [skip ci] --- .github/workflows/reuse.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/reuse.yml diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 0000000..b364667 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,15 @@ +name: Reuse other workflow + +on: [workflow_dispatch] + +jobs: + call-workflow: + uses: ./.github/workflows/reusable.yml + with: + who-to-greet: '@cgalunza' + + use-output: + runs-on: ubuntu-latest + needs: [call-workflow] + steps: + - run: echo "Time was ${{ needs.call-workflow.outputs.current-time }}"