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