Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 467 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 467 Bytes

Check whether an input exists

Returns the string true when value is nonempty and false otherwise. Whitespace and the literal string false are nonempty values.

- uses: projectcapsule/github-actions/exists@main
  id: token
  with:
    value: ${{ secrets.RELEASE_TOKEN }}
- if: steps.token.outputs.result == 'true'
  run: echo 'A release token is configured'

The value itself is never printed. See UPSTREAM.md for attribution.