takihito/glasp
Install glasp — a high-performance Google Apps Script CLI — and authenticate for CI use
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | glasp version to install (e.g., v1.0.0). Defaults to latest release. | no | "" |
| auth | JSON content of .clasprc.json for authentication. Store this value as a repository secret (e.g. GLASP_AUTH) and reference it via secrets.GLASP_AUTH in your workflow. When provided, the value is exported as the GLASP_AUTH environment variable so that subsequent glasp commands authenticate without a --auth flag. | no | "" |
| working-directory | Directory containing .clasp.json. Relative paths are resolved from the workspace root. When provided, the value is exported as the GLASP_DIR environment variable so that all subsequent glasp commands run from that directory without a --dir flag. | no | "" |
| client-id | OAuth2 client ID. Store this value as a repository or organization secret (e.g. GLASP_CLIENT_ID) and reference it via secrets.GLASP_CLIENT_ID in your workflow. When provided, exported as the GLASP_CLIENT_ID environment variable so that subsequent glasp commands use these credentials instead of the built-in defaults. Must be provided together with client-secret. | no | "" |
| client-secret | OAuth2 client secret. Store this value as a repository or organization secret (e.g. GLASP_CLIENT_SECRET) and reference it via secrets.GLASP_CLIENT_SECRET in your workflow. When provided, exported as the GLASP_CLIENT_SECRET environment variable so that subsequent glasp commands use these credentials instead of the built-in defaults. Must be provided together with client-id. | no | "" |
Outputs
no outputs