From 97d4883c68fda856974f90f3939f0f30b5c7bd4f Mon Sep 17 00:00:00 2001 From: Eric Pinzur <2641606+epinzur@users.noreply.github.com> Date: Thu, 31 Jul 2025 16:00:17 +0200 Subject: [PATCH] bug: more cross-platform debug (#9266) --- .github/workflows/cross-platform-test.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cross-platform-test.yml b/.github/workflows/cross-platform-test.yml index d5169f8aa..aa1525dbd 100644 --- a/.github/workflows/cross-platform-test.yml +++ b/.github/workflows/cross-platform-test.yml @@ -20,22 +20,24 @@ on: type: string jobs: - debug-context: - name: Debug Context + debug-github-context: + name: Debug GitHub Context runs-on: ubuntu-latest steps: - - name: Debug workflow context + - name: Debug all GitHub context run: | echo "Event name: ${{ github.event_name }}" - echo "Langflow version input: '${{ inputs.langflow-version }}'" - echo "Base artifact name: '${{ inputs.base-artifact-name }}'" - echo "Main artifact name: '${{ inputs.main-artifact-name }}'" - echo "Should build condition: ${{ github.event_name == 'workflow_dispatch' && inputs.langflow-version == '' }}" + echo "Workflow: ${{ github.workflow }}" + echo "Workflow ref: ${{ github.workflow_ref }}" + echo "Actor: ${{ github.actor }}" + echo "Triggering actor: ${{ github.triggering_actor }}" + echo "Event path: ${{ github.event_path }}" + echo "Repository: ${{ github.repository }}" build-if-needed: name: Build Packages (if no artifacts provided) runs-on: ubuntu-latest - if: github.event_name == 'workflow_dispatch' && inputs.langflow-version == '' + if: inputs.langflow-version == '' && github.workflow == 'Cross-Platform Installation Test' outputs: base-artifact-name: ${{ steps.set-names.outputs.base-artifact-name }} main-artifact-name: ${{ steps.set-names.outputs.main-artifact-name }}