diff --git a/action.yml b/action.yml index b5870ae..a127ca3 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ runs: steps: - name: Get current workflow file id: get-workflow - run: echo "workflow_file=${{ github.event.workflow }}" >> $GITHUB_ENV + run: echo "workflow_file=${{ github.event.workflow }}" >> $GITHUB_OUPTUT shell: bash - name: Check parameters @@ -18,4 +18,4 @@ runs: shell: bash env: PARAMS: ${{ inputs.params }} - WORKFLOW_FILE: ${{ github.workspace }}/.github/workflows/${{ env.workflow_file }}.yml + WORKFLOW_FILE: ${{ github.workspace }}/.github/workflows/${{ steps.get-workflow.outputs.workflow_file }}.yml