Skip to content

github action does not have stdout as output #196

@clembo590

Description

@clembo590

What is the issue?

The Show Dagger output prints nothing

jobs:
  hello-dagger:
    runs-on: ubuntu-latest
    steps:
      - name: hello
        uses: dagger/[email protected]
        with:
          module: github.com/shykes/daggerverse/hello
          call: hello --greeting Hola --name Jeremy
          version: "latest"  # semver vX.Y.Z}

      - name: Show Dagger output
        run: |
          echo "Dagger output:"
          echo "${{ steps.hello.outputs.stdout }}"

      - name: List all outputs of the Dagger step
        run: |
          echo '${{ toJson(steps.hello.outputs) }}'

Dagger version

registry.dagger.io/engine:v0.19.7

Steps to reproduce

Just run the pipeline I gave . the step Show Dagger output should print something...

Log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions