/json-to-file

Store json in a file, without needing to worry about escaping the string properly

Primary LanguageTypeScriptMIT LicenseMIT

OpenSSF Scorecard build-test

Purpose

Write JSON from to a file, without having to worry about string escaping on a bash script.

Usage

- uses: devops-actions/json-to-file@v1.0.0
  with:
    json: '{"test": "test"}'
    filename: 'test.json'