Skip to content

Reedyuk/write-properties

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published