From 00f124247f38c5799ad9499921b48f200fa3425e Mon Sep 17 00:00:00 2001 From: Joseph Petersen Date: Mon, 13 Jun 2022 22:46:53 +0200 Subject: [PATCH] move variables to env block --- action.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 7f84f55..0073c70 100644 --- a/action.yaml +++ b/action.yaml @@ -17,7 +17,11 @@ outputs: description: success if the check succeeded otherwise a message describing the result runs: using: composite - steps: - - run: GITHUB_TOKEN=${{ inputs.GITHUB_TOKEN }} OUTPUT_RESULT=${{ inputs.output_result }} NAME=${{ inputs.name }} $GITHUB_ACTION_PATH/run.sh + steps: + - run: $GITHUB_ACTION_PATH/run.sh id: verify-ci-status shell: bash + env: + GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} + NAME: ${{ inputs.name }} + OUTPUT_RESULT: ${{ inputs.output_result }}