-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (31 loc) · 797 Bytes
/
action.yml
File metadata and controls
31 lines (31 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: read-java-properties
author: madhead <siarhei.krukau@gmail.com>
description: GitHub Action to read values from Java's .properties files
inputs:
file:
description: A file to read
required: true
property:
description: A property to read from the file
required: false
all:
description: A flag to read and output all the properties from the file
required: false
default: 'false'
default:
description: A value to return in case of any errors
required: false
outputs:
value:
description: Property's value
runs:
using: docker
image: 'docker://ghcr.io/madhead/read-java-properties:latest'
args:
- ${{ inputs.file }}
- ${{ inputs.property }}
- ${{ inputs.all }}
- ${{ inputs.default }}
branding:
icon: list
color: gray-dark