diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index a7faaca..afa235c 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -38,10 +38,17 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.branch_name || github.event.workflow_run.head_branch }} + - name: Debug Event Context + run: | + echo "Event Name: ${{ github.event_name }}" + echo "Inputs Branch Name: ${{ github.event.inputs.branch_name }}" + echo "Workflow Run Head Branch: ${{ github.event.workflow_run.head_branch }}" + echo "Ref: ${{ github.ref }}" + echo "GITHUB_REF: $GITHUB_REF" - name: Display Branch Name run: | - echo "Building branch: ${{ github.event.inputs.branch_name || github.event.workflow_run.head_branch }}" - + BRANCH=${{ github.event.inputs.branch_name || github.event.workflow_run.head_branch }} + echo "Building branch: $BRANCH" - name: Set up Python uses: actions/setup-python@v4 with: