jumbo810/Upload Github-Actions Artifacts TO Google Drive
Automates secure CI/CD artifact backups to Google Drive. Features per-file retention, auto-sharing, smart format conversion, and zero-config privacy.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| credentials | Google service account credentials (base64 encoded JSON) | yes | — |
| parent_folder_id | Google Drive folder ID to upload the file to | yes | — |
| target | Local path to the file to upload (supports glob patterns for multiple files) | yes | — |
| owner | Optional user account email (Requires domain-wide authority delegation) | no | — |
| name | Optional name for the target file (ignored when using glob patterns) | no | — |
| child_folder | Optional sub-folder path to upload the file to (Will be created if non-existent) | no | — |
| override | Optional, if set true, delete files with the same name before uploading | no | false |
| replace_mode | Optional, determines how to handle existing files. Options: "delete_first" (same as override=true), "update_in_place" (preserves file ID and sharing links), or "add_new" (default, creates a new file even if one with the same name exists) | no | add_new |
| max_retention_count | Optional, number of most recent files with the same name to keep. Older versions of the specific file will be deleted from the folder. Set to 0 to disable (default). | no | 0 |
| convert_files | Optional, if set to true, automatically converts supported files (csv, md, txt, xlsx) to Google Docs/Sheets/Slides formats. | no | false |
| share_with | Optional, comma-separated list of email addresses to grant "reader" permission to the uploaded file. | no | — |
| send_share_notification | Optional, if true, sends an email notification to the users specified in share_with. Default false. | no | false |
| set_metadata | Optional, if true, adds GitHub context (repo, commit, run link) to the file description. | no | false |
Outputs
| name | description |
|---|---|
| file_id | ID of the uploaded file (First file if multiple matched) |
| file_ids | Comma-separated IDs of all uploaded files |
| file_name | Name of the uploaded file (First file if multiple matched) |
| file_names | Comma-separated names of all uploaded files |
| web_view_link | Web view link of the uploaded file (First file if multiple matched) |
| web_view_links | Comma-separated web view links of all uploaded files |
| upload_count | Number of files successfully uploaded |