diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index b165875..91fe73a 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -19,14 +19,13 @@ jobs: id: gha-extract-shell-scripts - name: Test extracted run: | - find . # Debug working directory content - output="$(cat "workflow_scripts/integration-tests.yaml/job=${{ github.job }}/step=Test_extracted.sh")" + output="$(cat "workflow_scripts/${{ env.workflow_file }}/job=Test/step=Test_extracted.sh")" [[ "${output}" == "${expected}" ]] || exit 1 env: expected: | #!/usr/bin/bash set -e # --- - find . # Debug working directory content - output="$(cat "workflow_scripts/integration-tests.yaml/job=:github.job:/step=Test_extracted.sh")" + output="$(cat "workflow_scripts/:env.workflow_file:/job=Test/step=Test_extracted.sh")" [[ "${output}" == "${expected}" ]] || exit 1 + workflow_file: integration-tests.yaml