Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

BoundfoxStudios/action-set-text-output

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published