action-write-config icon indicating copy to clipboard operation
action-write-config copied to clipboard

A GitHub Action to write config to file

trafficstars

Write Config (Github Actions)

A GitHub Action to write config to file

Example

- uses: antfu/action-write-config
  with:
    # the file path to be saved, yaml is also supported
    path: 'config.json'

    # can be an object
    data: 
      foo: 'bar'
      hello: 'world'

config.json will be:

{
  "foo": "bar",
  "hello": "world"
}