+
Skip to content

TOML Reader

Actions
Read a specific field from a TOML file
v1.2.0
Latest
Star (17)

Read TOML

A simple action to read a single field from a TOML file and output the value stored in that field.

Inputs

file

Required The TOML file to read from.

field

Required The field inside the TOML file to read. Can possibly be a nested field, using the parent.child notation.

Outputs

value

The value stored inside file at key field.

Example usage

uses: SebRollen/toml-action@v1.2.0
id: read_toml
with:
  file: 'myfile.toml'
  field: 'package.version'

You can now refer to the output in a later step using steps.read_toml.outputs.value

TOML Reader is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Read a specific field from a TOML file
v1.2.0
Latest

TOML Reader is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载