Skip to content

deefdragon/json-edit-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-edit-action

This is a VERY simple action, whose entire point is to make simple changes to json files.

The action is based on this template, and the json editing is based on https://www.npmjs.com/package/edit-json-file. Any formatting for the environment variables is in the npm package.

example usage

      - name: manifest Version
        uses: deef0000dragon1/json-edit-action/@v1
        env:
          KEY: version
          VALUE: v0.1.1
          FILE: manifest.json

Usage for more than a few edits is not recomended. It may be more efficent to code a custom json file creator/editor script for your use-case.

About

Github Action to make a change to a JSON file

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.5%
  • Dockerfile 28.3%
  • Shell 4.2%