Skip to content

Write Property

Actions
Write property to .properties file
v1.0.3
Latest
Star (4)

Count of Action Users

write-properties GitHub Action

write-properties allows you to write key values to your .properties file on Any github platform e.g. MacOS, Linux, Windows

Integrating with GitHub actions

GitHub actions are a flexible way to automatically build your project. I have found working on several projects the need to change the version of the .properties file.

Prerequisites

Make sure that you have

  • a GitHub account with Actions enabled
  • a project with a .properties file

Inputs

path

Required The path to properties file to read.

property

Required The property you want to write.

value

The value of the given property.

Required The property you want to write.

Example usage

- name: Write value from Properties-file
  id: write_property
  uses: Reedyuk/write-properties@latest
  with:
    path: './src/main/resources/application.properties'
    property: 'the.key.of.the.property'
    value: 'value'

Write Property 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

Write property to .properties file
v1.0.3
Latest

Write Property 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.