Skip to content

Commit

Permalink
workflow ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Jun 15, 2024
1 parent d536a51 commit 1c5caf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ runs:
steps:
- name: Get current workflow file
id: get-workflow
run: echo "workflow_file=${{ github.workflow }}" >> $GITHUB_OUTPUT
run: echo "workflow_file=${{ github.workflow_ref }}" | cut -d'@' -f1 >> $GITHUB_OUTPUT
shell: bash

- name: Check parameters
run: ./scripts/validate-param.sh
shell: bash
env:
PARAMS: ${{ inputs.params }}
WORKFLOW_FILE: ${{ github.workspace }}/.github/workflows/${{ steps.get-workflow.outputs.workflow_file }}.yml
WORKFLOW_FILE: ${{ github.workspace }}/${{ steps.get-workflow.outputs.workflow_file }}.yml

0 comments on commit 1c5caf4

Please sign in to comment.