diff --git a/.github/workflows/test_illumina_genotyping_array.yml b/.github/workflows/test_illumina_genotyping_array.yml index 2773cc8603..e382330b92 100644 --- a/.github/workflows/test_illumina_genotyping_array.yml +++ b/.github/workflows/test_illumina_genotyping_array.yml @@ -122,10 +122,10 @@ jobs: run: | if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then echo "Using github.sha for manually triggered workflow." - echo "commit_hash=${{ github.sha }}" >> $GITHUB_ENV + echo "GITHUB_COMMIT_HASH=${{ github.sha }}" >> $GITHUB_ENV elif [ "${{ github.event_name }}" == "pull_request" ]; then echo "Using github.event.pull_request.head.sha for PR-triggered workflow." - echo "commit_hash=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV + echo "GITHUB_COMMIT_HASH=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV else echo "Unsupported event type: ${{ github.event_name }}" exit 1 @@ -133,19 +133,21 @@ jobs: - name: Print Determined Commit Hash run: | - echo "Determined commit hash: ${{ env.commit_hash }}" - - - name: Fetch Github Commit Hash - id: fetch_github_commit_hash - run: | - echo "GITHUB_COMMIT_HASH=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV - echo "GitHub Commit Hash: ${{ github.event.pull_request.head.sha }}" + echo "Determined commit hash: ${{ env.GITHUB_COMMIT_HASH }}" + #echo "GITHUB_COMMIT_HASH=${{ env.github_commit_hash }}" >> $GITHUB_ENV + - - name: Debug Context - run: | - echo "github.sha: ${{ github.sha }}" - echo "github.event.pull_request.head.sha: ${{ github.event.pull_request.head.sha }}" - echo "github.event.pull_request.base.sha: ${{ github.event.pull_request.base.sha }}" + #- name: Fetch Github Commit Hash + # id: fetch_github_commit_hash + # run: | + # echo "GITHUB_COMMIT_HASH=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV + # echo "GitHub Commit Hash: ${{ github.event.pull_request.head.sha }}" +# + #- name: Debug Context + # run: | + # echo "github.sha: ${{ github.sha }}" + # echo "github.event.pull_request.head.sha: ${{ github.event.pull_request.head.sha }}" + # echo "github.event.pull_request.base.sha: ${{ github.event.pull_request.base.sha }}" - name: Fetch Dockstore Workflow CommitID run: |