Skip to content

Set (multiline) text output

Actions
A composite action to set the job output while maintaining the format e.g. markdown format and multi-line strings
v1
Latest
Star (0)

Tags

 (1)

ARCHIVED

Use https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings instead.

Set text output v1

A simple composite action to set the job output while maintaining the text format e.g. markdown format and multi-line strings.

test

Usage

- uses: BoundfoxStudios/action-set-text-output@v1
  id: content
  with:
    text: |
      # Set text output

      A simple composite actions to set the job output while maintaining the text format e.g. markdown format.

Example

  usage:
    runs-on: ubuntu-latest
    outputs:
      content: ${{ steps.content.outputs.value }}
    steps:
    - uses: BoundfoxStudios/action-set-text-output@v1
        id: content
        with:
          text: |
            # Set text output

            A simple composite actions to set the job output while maintaining the text format e.g. markdown format.
  result:
    runs-on: ubuntu-latest
    needs: usage
    steps:
      - if: ${{ !startsWith(needs.test-usage.outputs.content, '# Set text output') }}
        run: exit 1
      - run: echo "${{ needs.usage.outputs.content }}" 

Set (multiline) text output is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A composite action to set the job output while maintaining the format e.g. markdown format and multi-line strings
v1
Latest

Tags

 (1)

Set (multiline) text output is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.