{"id":13531248,"url":"https://github.com/schdck/create-env-json","last_synced_at":"2026-01-16T08:56:42.855Z","repository":{"id":44830040,"uuid":"252073014","full_name":"schdck/create-env-json","owner":"schdck","description":"GitHub action that writes environment variables (or anything you want) to a JSON","archived":false,"fork":false,"pushed_at":"2022-08-18T19:25:31.000Z","size":925,"stargazers_count":15,"open_issues_count":4,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T15:44:56.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/schdck.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":null,"security":null,"support":null}},"created_at":"2020-04-01T04:37:21.000Z","updated_at":"2025-02-28T20:55:03.000Z","dependencies_parsed_at":"2023-01-04T12:26:45.552Z","dependency_job_id":null,"html_url":"https://github.com/schdck/create-env-json","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"60bfbe1c015de03094e882991a09c42bce8c2d14"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schdck%2Fcreate-env-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schdck%2Fcreate-env-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schdck%2Fcreate-env-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schdck%2Fcreate-env-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schdck","download_url":"https://codeload.github.com/schdck/create-env-json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246700488,"owners_count":20819880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-01T07:01:01.423Z","updated_at":"2026-01-16T08:56:42.833Z","avatar_url":"https://github.com/schdck.png","language":"JavaScript","readme":"# create-env-json\n\nThis action writes environment variables (or anything you want) to a JSON file that can be accessed by future steps.\n\n## Inputs\n\n* **[required] `file-name`**: The name of the file to be written.\n* **Other variables**: you must specify any other variable you want written to the JSON as input variables. Pass the variable with the name you want to appear in the JSON.\n\n## Output\n\n* **`full-path`**: The full path to the written file\n\n## Usage\n\n```\nuses: schdck/create-env-json@v1\nid: create-env\nwith:\n  file-name: 'env.json'\n  super-secret: ${{ secrets.SuperSecret }}\n  CONNECTION_STRING: ${{ secrets.connection_string }}\n```\n\n#### This will generate the following JSON:\n\n``` json\n{\"super-secret\":\"[your-super-secret]\",\"CONNECTION_STRING\":\"[your-connection-string]\"}\n```\n\nYou can later pass it's path as an input for another program (e.g. [`claudia.js`](https://claudiajs.com/), which receives a JSON in `--set-env-from-json`)\n\n#### Acessing the full-path\n\nYou can later access the full path of the file using `${{ steps.create-env.outputs.full-path }}`","funding_links":[],"categories":["Community Resources"],"sub_categories":["Utility"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschdck%2Fcreate-env-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschdck%2Fcreate-env-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschdck%2Fcreate-env-json/lists"}