Skip to content
file

GitHub Action

toml editor v0.1

v2 Latest version

toml editor v0.1

file

toml editor v0.1

edit a toml file:: Just added ssl verrification false

Installation

Copy and paste the following snippet into your .yml file.

              

- name: toml editor v0.1

uses: kaachod/toml-editor@v2

Learn more about this action in kaachod/toml-editor

Choose a version

toml-editor

This is a Github action, you can use it to edit your toml file. Read more about those here: https://developer.github.com/actions/

Usage

workflow.yml

- name: Edit Toml
  uses: ciiiii/[email protected]
  with:
    file: "file/path/xx.toml"
    key: "a.b.c"
    value: "abc"

Arguments

All arguments are of type string.

Name Required Description
file Yes The relative path of toml file
key Yes Key need to modify
value Yes Value to set

key example

[params]
hello = "" # key = "params.hello"

[params.config]
appId = "" # key = "params.config.appId"