{"id":19680380,"url":"https://github.com/touchlab/read-property","last_synced_at":"2026-05-14T15:38:25.423Z","repository":{"id":193794105,"uuid":"689496962","full_name":"touchlab/read-property","owner":"touchlab","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-08T05:01:50.000Z","size":416,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-27T06:48:56.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/touchlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-10T01:51:44.000Z","updated_at":"2023-09-10T01:51:51.000Z","dependencies_parsed_at":"2024-11-11T18:04:57.192Z","dependency_job_id":"8c65ebd5-7c03-463e-99e2-8cffd2ca4375","html_url":"https://github.com/touchlab/read-property","commit_stats":null,"previous_names":["touchlab/read-property"],"tags_count":1,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/touchlab/read-property","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fread-property","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fread-property/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fread-property/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fread-property/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/touchlab","download_url":"https://codeload.github.com/touchlab/read-property/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fread-property/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33031471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T18:04:53.357Z","updated_at":"2026-05-14T15:38:25.409Z","avatar_url":"https://github.com/touchlab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Read a value from a Java/JVM Properties file\n\nSimple action to read a value from a Java Properties file. The available options seem to use a container vs just JS, which didn't work well in the situations we needed it.\n\nThis action is very simple. We're currently using it to read version info from `gradle.properties`. Here is the yaml code:\n\n```yaml\n      - uses: touchlab/read-property@main\n        id: versionprop\n        with:\n          file: ./gradle.properties\n          property: LIBRARY_VERSION\n```\n\nAccessing the value is also simple:\n\n```yaml\n      - name: Print Output\n        id: output\n        run: echo \"${{ steps.versionprop.outputs.propVal }}\"\n```\n\nThe outcome in cases of an error is currently undefined. We needed a quick and simple solution to the problem at hand. If there's demand, we'll define the edge cases better in the future. Please [reach out](https://touchlab.co/keepintouch).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftouchlab%2Fread-property","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftouchlab%2Fread-property","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftouchlab%2Fread-property/lists"}