Releases: diverger/gh-obs-helper
Releases · diverger/gh-obs-helper
GH OBS Helper v1.0.0
Release Notes
🚀 GH OBS Helper Release v1.0.0
🎯 What's New
- 📥 Download Functionality: Full download support with pattern matching and parallel processing
- 🔍 Advanced Object Listing: Efficient pagination for large buckets
- 🎯 Pattern Filtering: Include/exclude patterns for downloads
- 📁 Structure Preservation: Option to maintain directory structure during downloads
- 🛡️ Checksum Validation: File integrity verification for downloads
🔧 Features
- Download Operations: Download files from OBS buckets with wildcard support
- Parallel Downloads: Configurable concurrency for faster file retrieval
- Pattern Matching: Filter downloads using include/exclude patterns
- Retry Logic: Automatic retry for failed downloads with exponential backoff
- Dry Run Support: Preview download operations without executing
📋 Download Examples
Basic Download:
- name: Download files
uses: diverger/[email protected]
with:
access_key: ${{ secrets.OBS_ACCESS_KEY }}
secret_key: ${{ secrets.OBS_SECRET_KEY }}
region: 'cn-north-4'
bucket_name: 'my-bucket'
operation: 'download'
obs_path: 'releases/v1.0.0/'
local_path: 'downloaded/'Download with Patterns:
- name: Download specific files
uses: diverger/[email protected]
with:
access_key: ${{ secrets.OBS_ACCESS_KEY }}
secret_key: ${{ secrets.OBS_SECRET_KEY }}
region: 'cn-north-4'
bucket_name: 'my-bucket'
operation: 'download'
obs_path: 'backups/'
local_path: 'restored/'
include: '**/*.sql, **/*.json'
exclude: '**/*.tmp'
concurrency: 20🚀 GH OBS Helper Release v1.0.0
🎯 What's New
- Standardized Parameter Names: Renamed
source/destinationtolocal_path/obs_pathfor clarity - Enhanced Build System: Automated build and release workflows
- Professional Development Setup: Complete CI/CD pipeline with TypeScript validation
🔧 Changes
- BREAKING: Parameter names changed from
source/destinationtolocal_path/obs_path - Updated all workflow examples to use new parameter names
- Fixed action icon to use valid
upload-cloudicon
🐛 Bug Fixes
- Fixed TypeScript compilation errors
- Corrected action.yml parameter validation
- Improved error handling in upload operations
📋 Migration Guide
If upgrading from earlier versions, update your workflow files:
Old:
with:
source: 'dist/**'
destination: 'releases/'New:
with:
local_path: 'dist/**'
obs_path: 'releases/'🛠️ Usage Example
- name: Upload to OBS
uses: diverger/[email protected]
with:
access_key: ${{ secrets.OBS_ACCESS_KEY }}
secret_key: ${{ secrets.OBS_SECRET_KEY }}
region: 'cn-north-4'
bucket: 'my-bucket'
operation: 'upload'
local_path: 'dist/**/*'
obs_path: 'releases/v1.0.0/'🎉 Features
- High-performance uploads with unlimited file support
- Wildcard pattern matching (
*,**,?) - Parallel operations with configurable concurrency
- Support for upload, download, sync, and bucket operations
- Comprehensive error handling and retry logic
Full Changelog: v0.9.0...v1.0.0