Thanks to visit codestin.com
Credit goes to github.com

Skip to content

All outputs are empty? #218

@ben851

Description

@ben851

I'm trying to take the stdout of helmfile diff and and post it as a comment in the PR. Every output seems to be empty (I've tried helmfile-stdout, helmfile-stderr and exit-code). Am I missing something? I've verified that writing static text in the pr comment action works as expected, and I can get outputs from other actions and add them as a comment.

    - name: Run helmfile
       id: helmfile_diff
       uses: helmfile/[email protected]
       with:
         helmfile-args: diff --environment staging
    - name: Helmfile Diff Comment
      uses: mshick/add-pr-comment@v2
      with:
        message: | 
          ${{ steps.helmfile_diff.outputs.helmfile-stdout }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions