bug: more cross-platform debug (#9266)

This commit is contained in:
Eric Pinzur 2025-07-31 16:00:17 +02:00 committed by GitHub
commit 97d4883c68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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