From 8ed5f148c1bcab8aecd64ccf712535f701ea1eed Mon Sep 17 00:00:00 2001 From: ahmedbham <16580429+ahmedbham@users.noreply.github.com> Date: Sun, 14 Apr 2024 11:52:05 -0700 Subject: [PATCH] fixed more errors --- .github/workflows/reusable.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/reusable.yml b/.github/workflows/reusable.yml index dbc50ef..fca9b2c 100644 --- a/.github/workflows/reusable.yml +++ b/.github/workflows/reusable.yml @@ -16,13 +16,14 @@ on: jobs: reusable-job: runs-on: ubuntu-latest + outputs: + current-time: steps.time.outputs.current-time steps: - name: Echo greeting - run: echo "Hello ${{ inputs.who-to-greet }}" + run: echo "Hello ${{ github.events.inputs.who-to-greet }}" - name: Set current time - id: time - run: | + id: time + run: | echo "::set-output name=current-time::$(date)" - outputs: - current-time: steps.time.outputs.current-time + \ No newline at end of file