aleqsd/Upload to Zoho WorkDrive
Uploads a file to Zoho WorkDrive and returns a public direct-download URL.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 26, 2026
- License
- MIT
Pinned Snippet
uses: aleqsd/zoho-upload-action@feafecb7157162e42ab5efa85fe035c5ba1ea003 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| file_path | Local file(s) to upload (newline- or comma-separated for multiple, must be inside the GitHub workspace). | yes | — |
| remote_name | Optional remote name for the uploaded file. | no | — |
| stdout_mode | Output format: full | direct | json (default: full). | no | full |
| region | Zoho region to target (us | eu | in | au | jp | cn). | no | us |
| link_mode | Which URLs to emit: direct | preview | both (default: direct). | no | direct |
| share_mode | Share behaviour: public (default) or skip to keep the file private. | no | public |
| conflict_mode | Duplicate handling: abort | rename | replace (default: abort). | no | abort |
| max_retries | Retry count for upload/link API calls. | no | 3 |
| retry_delay | Delay between retries in seconds. | no | 2 |
| access_token | Optional pre-generated Zoho access token to skip refresh calls. | no | "" |
| token_max_retries | Retry count for access-token refresh calls. | no | 8 |
| token_retry_delay | Delay between token refresh retries in seconds. | no | 12 |
| results_json_output_limit | Maximum byte size for the zoho_results_json output. Larger payloads are only written to zoho_results_file. | no | 65536 |
Outputs
| name | description |
|---|---|
| zoho_direct_url | Public direct-download URL for the uploaded file. |
| zoho_preview_url | Public WorkDrive share URL without the direct download parameter. |
| zoho_html_snippet | HTML snippet embedding the direct URL when available. |
| zoho_resource_id | Zoho WorkDrive resource identifier for the uploaded item. |
| zoho_remote_name | Final filename stored in Zoho WorkDrive (after conflict handling). |
| zoho_results_json | JSON payload describing every uploaded file (source path, remote name, URLs). |
| zoho_results_file | Path to a JSON file containing the full uploaded-file results. |