{"id":44320131,"url":"https://github.com/speareducation/action-build-variables","last_synced_at":"2026-02-11T06:09:52.217Z","repository":{"id":38984540,"uuid":"344616071","full_name":"speareducation/action-build-variables","owner":"speareducation","description":"Parses github.ref and outputs some useful build variables","archived":false,"fork":false,"pushed_at":"2025-12-15T21:42:52.000Z","size":891,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-12-19T04:07:31.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/speareducation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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":"2021-03-04T21:36:24.000Z","updated_at":"2025-12-15T20:12:39.000Z","dependencies_parsed_at":"2025-06-17T19:23:29.898Z","dependency_job_id":"49c36ed4-3a97-473e-8e19-27bf161c0798","html_url":"https://github.com/speareducation/action-build-variables","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/speareducation/action-build-variables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speareducation%2Faction-build-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speareducation%2Faction-build-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speareducation%2Faction-build-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speareducation%2Faction-build-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speareducation","download_url":"https://codeload.github.com/speareducation/action-build-variables/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speareducation%2Faction-build-variables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"last_error":"SSL_read: 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":[],"created_at":"2026-02-11T06:09:51.578Z","updated_at":"2026-02-11T06:09:52.210Z","avatar_url":"https://github.com/speareducation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spear Education Build Variables\n\n\\*Note: This action is designed to be compatible within Spear's ecosystem.\n\nParses the action environment\n\n## Outputs\n\n### `projectKey`\n\nThe repository name\n\n### `release`\n\nThe release name, taken from the branch or tag.\nExamples:\n\n- `2021-12-01.01`\n- `gl-1234`\n\n### `appEnv`\n\nThe APP Environment, taken from the branch or tag.\nExamples:\n\n- `staging`\n- `sandbox`\n- `dotco`\n- `production`\n\n### `appEnvAbbr`\n\nThe Abbreviated APP Environment, utilized for NGLX\nExamples:\n\n- `stg`\n- `prd`\n- `qa`\n- `dev`\n\n### `phpVersion`\n\nThe requested PHP version, taken from .pvmrc if present (default empty string)\nExample: `7.4`\n\n### `nodeVersion`\n\nThe requested Node version, taken from .nvmrc if present (default empty string)\nExamples:\n\n- `14`\n- `latest`\n\n### `packageName`\n\nThe package name from package.json if present, including scope and package\nExample: `@speareducation/util`\n\n### `packageScope`\n\nThe package scope (org) from package.json if present\nExample: `speareducation`\n\n### `packagePackage`\n\nThe package name (without scope) from package.json if present\nExample: `util`\n\n### `packageVersion`\n\nThe full project version, taken from package.json if present (default empty string)\nExample: `1.2.3-beta.0`\n\n### `packageMajorVersion`\n\nThe package major version\nExample: `1` if packageVersion is `1.2.3`\n\n### `packageMinorVersion`\n\nThe package major and minor version\nExample: `1.2` if packageVersion is `1.2.3`\n\n### `packagePatchVersion`\n\nThe package major, minor, and patch version\nExample: `1.2.3` if packageVersion is `1.2.3`\n\n### `packagePreVersion`\n\nThe package pre-release version\nExample: `beta.0` if packageVersion is `1.2.3-beta.0`\n\n### `packageIsFullRelease`\n\nWhether the package version is a full release (i.e. not pre-release)\nExample: `1` if packageVersion is `1.2.3`, `0` if packageVersion is `1.2.3-beta.0`\n\n## Example usage\n\n```yaml\n- id: build-vars\n  uses: speareducation/action-build-variables@1\n\n- id: other-action\n  env:\n    release: ${{ steps.build-vars.outputs.release }}\n    appEnv: ${{ steps.build-vars.outputs.appEnv }}\n```\n\n### Node setup\n\n```yaml\n# Read node version from `.nvmrc` file\n- id: build-vars\n  uses: speareducation/action-build-variables@1\n\n- uses: actions/setup-node@v1\n  with:\n    # use the output from the action\n    node-version: \"${{ steps.build-vars.outputs.nodeVersion }}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeareducation%2Faction-build-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeareducation%2Faction-build-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeareducation%2Faction-build-variables/lists"}