https://github.com/matbour/square
Setup release metadata for deployable projects
https://github.com/matbour/square
normalization square
Last synced: about 1 year ago
JSON representation
Setup release metadata for deployable projects
- Host: GitHub
- URL: https://github.com/matbour/square
- Owner: matbour
- License: mit
- Created: 2021-01-24T17:40:01.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-04T11:28:12.000Z (over 5 years ago)
- Last Synced: 2025-02-02T18:33:02.934Z (over 1 year ago)
- Topics: normalization, square
- Language: TypeScript
- Homepage:
- Size: 1.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Square





Normalize outputs based on package manifests (`package.json`, `composer.json`) and GitHub Actions context.
**Disclaimer: this package is still in active development and thus is unstable.**
## Inputs
| Name | Type | Default value |
|---------------------|---------------------------|---------------|
| `manifest` | `string` | `''` |
| `mode` | `output` / `env` / `both` | `output` |
| `working-directory` | `string` | `$(cwd)` |
### `manifest`
The manifest to look for.
Currently, the only supported ones are JSON-based, with a `"version"` key at the root of the document.
### `mode`
The how to output the results of the action.
They can be actions output (`output`, default behavior), environment variables (`env`) or both (`both`).
### `working-directory`
The working directory; the action will lookup for manifest in the specified directory.