antfu / action-write-config

A GitHub Action to write config to file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A GitHub Action to write config to file


Languages

Language:TypeScript 100.0%