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 }}