{"id":25841661,"url":"https://github.com/somaz94/env-output-setter","last_synced_at":"2026-04-03T11:01:49.061Z","repository":{"id":261360756,"uuid":"884050656","full_name":"somaz94/env-output-setter","owner":"somaz94","description":"env-output-setter","archived":false,"fork":false,"pushed_at":"2026-03-26T07:23:04.000Z","size":2116,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-27T02:36:10.592Z","etag":null,"topics":["automation","ci-cd","devops","environment-variables","github-action","github-actions","github-output","go","json","key-value","workflow"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/environment-output-setter","language":"Go","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/somaz94.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-06T03:35:41.000Z","updated_at":"2026-03-26T07:23:12.000Z","dependencies_parsed_at":"2024-11-06T06:23:39.899Z","dependency_job_id":"821f8361-f7e9-4492-be7a-702f922b1f3f","html_url":"https://github.com/somaz94/env-output-setter","commit_stats":null,"previous_names":["somaz94/env-output-setter"],"tags_count":17,"template":false,"template_full_name":"actions/container-action","purl":"pkg:github/somaz94/env-output-setter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somaz94%2Fenv-output-setter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somaz94%2Fenv-output-setter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somaz94%2Fenv-output-setter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somaz94%2Fenv-output-setter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/somaz94","download_url":"https://codeload.github.com/somaz94/env-output-setter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somaz94%2Fenv-output-setter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31347183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T08:03:20.796Z","status":"ssl_error","status_checked_at":"2026-04-03T08:00:37.834Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","ci-cd","devops","environment-variables","github-action","github-actions","github-output","go","json","key-value","workflow"],"created_at":"2025-03-01T05:29:58.377Z","updated_at":"2026-04-03T11:01:49.050Z","avatar_url":"https://github.com/somaz94.png","language":"Go","readme":"# GitHub Environment/Output Setter\n\n[![License](https://img.shields.io/github/license/somaz94/env-output-setter)](https://github.com/somaz94/container-action)\n![Latest Tag](https://img.shields.io/github/v/tag/somaz94/env-output-setter)\n![Top Language](https://img.shields.io/github/languages/top/somaz94/env-output-setter?color=green\u0026logo=go\u0026logoColor=b)\n[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Environment/Output%20Setter-blue?logo=github)](https://github.com/marketplace/actions/environment-output-setter)\n\n## Overview\n\nThe **GitHub Environment/Output Setter** is a GitHub Action that allows you to set multiple key-value pairs in both `$GITHUB_ENV` and `$GITHUB_OUTPUT`. This action is useful for workflows that need to dynamically define environment variables or output values that other steps can reference.\n\n\u003cbr/\u003e\n\n## Quick Start\n\n```yaml\n- uses: somaz94/env-output-setter@v1\n  with:\n    env_key: 'GCP_REGION,AWS_REGION'\n    env_value: 'asia-northeast1,us-east-1'\n    output_key: 'GCP_OUTPUT,AWS_OUTPUT'\n    output_value: 'gcp_success,aws_success'\n```\n\n\u003cbr/\u003e\n\n## Documentation\n\n- [Usage Guide](docs/USAGE.md) - Comprehensive examples and common use cases\n- [Features](docs/FEATURES.md) - Feature overview and advanced usage\n- [JSON Support](docs/JSON_SUPPORT.md) - Working with JSON data structures\n- [Troubleshooting](docs/TROUBLESHOOTING.md) - Common issues and solutions\n- [API Reference](docs/API.md) - Complete inputs and outputs reference\n\n\u003cbr/\u003e\n\n## Key Features\n\n- Set multiple environment variables and outputs in one step\n- Value transformation (uppercase, lowercase, URL encoding)\n- Mask sensitive values in logs\n- JSON support for complex data structures\n- Group related variables with prefixes\n- Retry mechanism for file operations\n- Debug mode for troubleshooting\n\n\u003cbr/\u003e\n\n## Basic Example\n\n```yaml\n- uses: somaz94/env-output-setter@v1\n  id: set_vars\n  with:\n    env_key: 'GCP_REGION,AWS_REGION'\n    env_value: 'asia-northeast1,us-east-1'\n    output_key: 'DEPLOY_STATUS'\n    output_value: 'success'\n\n- name: Use variables\n  run: |\n    echo \"GCP: ${{ env.GCP_REGION }}\"\n    echo \"AWS: ${{ env.AWS_REGION }}\"\n    echo \"Status: ${{ steps.set_vars.outputs.DEPLOY_STATUS }}\"\n```\n\nFor more examples, see the [Usage Guide](docs/USAGE.md).\n\n\u003cbr/\u003e\n\n\u003cbr/\u003e\n\n## Development\n\n```bash\nmake build        # Build the binary\nmake test         # Run unit tests with coverage\nmake test-local   # Run local integration tests\nmake test-all     # Run all tests\nmake cover        # Generate coverage report\nmake cover-html   # Open coverage in browser\nmake bench        # Run benchmarks\nmake lint         # Run go vet\nmake fmt          # Format code\nmake clean        # Remove build artifacts\n```\n\n\u003cbr/\u003e\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\u003cbr/\u003e\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\nFor detailed information, please refer to the documentation in the [docs](docs/) folder.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomaz94%2Fenv-output-setter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomaz94%2Fenv-output-setter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomaz94%2Fenv-output-setter/lists"}