kaikongbj/Aliyun Packages Upload (Yunxiao)
Upload artifact to Aliyun Packages (Yunxiao) generic repository and expose download URL/checksums for reuse in CI.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| username | Aliyun Packages username (can also come from env ALIYUN_PACKAGES_USERNAME) | no | — |
| password | Aliyun Packages access token/password (or env ALIYUN_PACKAGES_PASSWORD) | no | — |
| repository_id | Aliyun repository ID (or env ALIYUN_PACKAGES_REPOSITORY_ID) | no | — |
| repository_name | Generic repository name (path segment after 'generic/'); defaults to 'kvpac' | no | kvpac |
| platform | Target platform folder [windows|linux|macos] | yes | — |
| version | Semantic version, used in remote path {platform}/{version}/{filename} | yes | — |
| file | Optional local artifact path; if omitted, auto-detects from dist_dir | no | — |
| dist_dir | Directory to auto-detect artifact when file not provided | no | applications/electron/dist |
| version_description | Optional version description metadata showed in Aliyun UI | no | — |
| timeout_ms | Upload request timeout in ms | no | 300000 |
| retries | Max retry attempts on transient errors | no | 5 |
| public_base | Optional public base URL to compute a deterministic download URL as fallback | no | — |
Outputs
| name | description |
|---|---|
| download_url | Direct download URL returned by Aliyun API (if available) |
| computed_url | Fallback composed URL using public_base/platform/version/filename (if public_base provided) |
| file_path | Remote storage path inside repository, e.g. windows/1.2.3/YourApp.exe |
| md5 | MD5 checksum from server response (if provided) |
| sha1 | SHA1 checksum from server response (if provided) |
| sha256 | SHA256 checksum from server response (if provided) |
| size | File size in bytes from server response (if provided) |
| file-urls | JSON array with one direct download URL (or empty string if not available), for compatibility with existing workflows |