Skip to content

Commit 6d35e9b

Browse files
committed
Merge branch 'release/1.1.9'
2 parents 2d3a1cb + cdbba10 commit 6d35e9b

12 files changed

+94
-39
lines changed

.github/workflows/build-and-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
bucket: ${{ secrets.OBS_BUCKET }}
120120
operation: upload
121121
local_path: build-test.txt
122-
obs_path: test/
122+
obs_path: gh-obs-helper/test/
123123
dry_run: true
124124
continue-on-error: true
125125

.github/workflows/quick-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
bucket: ${{ env.OBS_BUCKET }}
4343
operation: upload
4444
local_path: test-file.txt
45-
obs_path: quick-test/
45+
obs_path: gh-obs-helper/quick-test/
4646
progress: true
4747
dry_run: false
4848

.github/workflows/test-download.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
remote_path:
1616
description: 'Remote path to download from'
1717
required: false
18-
default: 'test-uploads/'
18+
default: 'gh-obs-helper/test-uploads/'
1919
type: string
2020

2121
env:

.github/workflows/test-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
remote_prefix:
2525
description: 'Remote prefix/path'
2626
required: false
27-
default: 'sync-test/'
27+
default: 'gh-obs-helper/sync-test/'
2828
type: string
2929

3030
env:

.github/workflows/test-upload.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
bucket: ${{ env.OBS_BUCKET }}
8383
operation: upload
8484
local_path: test-files/simple.txt
85-
obs_path: test-uploads/single/
85+
obs_path: gh-obs-helper/test-uploads/single/
8686
progress: true
8787
dry_run: false
8888

@@ -97,7 +97,7 @@ jobs:
9797
bucket: ${{ env.OBS_BUCKET }}
9898
operation: upload
9999
local_path: test-files/documents/doc1.txt,test-files/documents/doc2.txt,test-files/images/image1.jpg
100-
obs_path: test-uploads/multiple/
100+
obs_path: gh-obs-helper/test-uploads/multiple/
101101
progress: true
102102
concurrency: 3
103103

@@ -112,7 +112,7 @@ jobs:
112112
bucket: ${{ env.OBS_BUCKET }}
113113
operation: upload
114114
local_path: test-files/
115-
obs_path: test-uploads/directory/
115+
obs_path: gh-obs-helper/test-uploads/directory/
116116
preserve_structure: true
117117
progress: true
118118
concurrency: 5
@@ -128,7 +128,7 @@ jobs:
128128
bucket: ${{ env.OBS_BUCKET }}
129129
operation: upload
130130
local_path: test-files/**/*.txt
131-
obs_path: test-uploads/wildcard/
131+
obs_path: gh-obs-helper/test-uploads/wildcard/
132132
exclude: "*.bin,*large*"
133133
preserve_structure: true
134134
progress: true
@@ -144,7 +144,7 @@ jobs:
144144
bucket: ${{ env.OBS_BUCKET }}
145145
operation: upload
146146
local_path: test-files/large-file.bin
147-
obs_path: test-uploads/large/
147+
obs_path: gh-obs-helper/test-uploads/large/
148148
progress: true
149149
checksum_validation: true
150150
storage_class: STANDARD
@@ -161,7 +161,7 @@ jobs:
161161
bucket: ${{ env.OBS_BUCKET }}
162162
operation: upload
163163
local_path: test-files/large-multipart-test.bin
164-
obs_path: test-uploads/multipart/
164+
obs_path: gh-obs-helper/test-uploads/multipart/
165165
progress: true
166166
checksum_validation: true
167167
storage_class: STANDARD
@@ -281,7 +281,7 @@ jobs:
281281
echo " - Look for: '✅ Large file uploaded successfully'"
282282
echo ""
283283
echo "### 🔍 What to Verify in OBS:"
284-
echo "- File should be uploaded to: test-uploads/multipart/large-multipart-test.bin"
284+
echo "- File should be uploaded to: gh-obs-helper/test-uploads/multipart/large-multipart-test.bin"
285285
echo "- File size should be exactly 1,258,291,200 bytes (1.2GB)"
286286
echo "- No 403 Forbidden errors should occur"
287287
fi

.github/workflows/test-url-outputs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
bucket: ${{ env.OBS_BUCKET }}
5555
operation: upload
5656
local_path: test-files/simple.txt
57-
obs_path: test-urls/public/
57+
obs_path: gh-obs-helper/test-urls/public/
5858
public_read: true
5959
progress: true
6060

@@ -69,7 +69,7 @@ jobs:
6969
bucket: ${{ env.OBS_BUCKET }}
7070
operation: upload
7171
local_path: test-files/data.json
72-
obs_path: test-urls/private/
72+
obs_path: gh-obs-helper/test-urls/private/
7373
public_read: false
7474
progress: true
7575

@@ -83,7 +83,7 @@ jobs:
8383
bucket: ${{ env.OBS_BUCKET }}
8484
operation: upload
8585
local_path: test-files/documents/doc1.txt,test-files/documents/doc2.txt,test-files/images/image1.jpg
86-
obs_path: test-urls/batch/
86+
obs_path: gh-obs-helper/test-urls/batch/
8787
public_read: ${{ inputs.test_type == 'public-urls' }}
8888
progress: true
8989

.github/workflows/test-url-usage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
bucket: ${{ secrets.OBS_BUCKET }}
2828
operation: 'upload'
2929
local_path: ${{ inputs.test_file }}
30-
obs_path: 'examples/public/'
30+
obs_path: 'gh-obs-helper/examples/public/'
3131
public_read: true
3232

3333
- name: Upload single file (private)
@@ -40,7 +40,7 @@ jobs:
4040
bucket: ${{ secrets.OBS_BUCKET }}
4141
operation: 'upload'
4242
local_path: ${{ inputs.test_file }}
43-
obs_path: 'examples/private/'
43+
obs_path: 'gh-obs-helper/examples/private/'
4444
public_read: false
4545

4646
- name: Upload multiple files
@@ -53,7 +53,7 @@ jobs:
5353
bucket: ${{ secrets.OBS_BUCKET }}
5454
operation: 'upload'
5555
local_path: 'test-files/*.txt'
56-
obs_path: 'examples/batch/'
56+
obs_path: 'gh-obs-helper/examples/batch/'
5757
public_read: true
5858

5959
- name: Display URL outputs

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ A high-performance GitHub Action for Huawei Cloud Object Storage Service (OBS) w
3232
bucket_name: 'my-bucket'
3333
operation: 'upload'
3434
source: 'dist/**/*'
35-
destination: 'releases/v1.0.0'
35+
destination: 'gh-obs-helper/releases/v1.0.0'
3636
```
3737
3838
### Download from OBS
@@ -45,7 +45,7 @@ A high-performance GitHub Action for Huawei Cloud Object Storage Service (OBS) w
4545
region: 'cn-north-4'
4646
bucket_name: 'my-bucket'
4747
operation: 'download'
48-
obs_path: 'releases/v1.0.0/'
48+
obs_path: 'gh-obs-helper/releases/v1.0.0/'
4949
local_path: 'downloaded/'
5050
```
5151
@@ -77,7 +77,7 @@ A high-performance GitHub Action for Huawei Cloud Object Storage Service (OBS) w
7777
bucket_name: 'my-bucket'
7878
operation: 'upload'
7979
source: 'dist/index.html'
80-
destination: 'releases/v1.0.0/'
80+
destination: 'gh-obs-helper/releases/v1.0.0/'
8181
public_read: true
8282

8383
- name: Use uploaded file URL
@@ -128,7 +128,7 @@ A high-performance GitHub Action for Huawei Cloud Object Storage Service (OBS) w
128128
region: 'cn-north-4'
129129
bucket_name: 'my-bucket'
130130
operation: 'download'
131-
obs_path: 'releases/v1.0.0/'
131+
obs_path: 'gh-obs-helper/releases/v1.0.0/'
132132
local_path: 'downloaded/'
133133
```
134134

RELEASE_NOTES.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,43 @@
11
# Release Notes
22

3-
## 🚀 GH OBS Helper Release v1.1.8
3+
## 🚀 GH OBS Helper Release v1.1.9
44

55
### 🎯 What's New
6-
- **Enhanced Documentation**: Added professional badges for license, release, and build status to README.md
7-
- **CI/CD Improvements**: Streamlined GitHub release workflow with modern action
8-
- **Repository Cleanup**: Added automated workflow run cleanup for better repository maintenance
6+
- **Workflow Fixes**: Repaired corrupted GitHub workflow configuration
7+
- **Path Consistency**: Ensured all OBS paths use consistent repository folder structure
8+
- **CI/CD Stability**: Improved workflow reliability and maintainability
99

1010
### 🔧 Changes
11-
- **Documentation Updates**: Updated README.md with status badges for better project visibility
12-
- **Package Metadata**: Updated author information in package.json
13-
- **CI/CD Modernization**: Switched from deprecated actions/create-release to softprops/action-gh-release
14-
- **Workflow Cleanup**: Added automated cleanup of old workflow runs to maintain repository hygiene
11+
- **Workflow Configuration**: Fixed corrupted `test-upload.yml` workflow inputs section
12+
- **OBS Path Standardization**: Confirmed all workflow files use "gh-obs-helper/" path prefix consistently
1513

1614
### 🐛 Bug Fixes
17-
- **Release Process**: Improved GitHub release creation workflow reliability
18-
- **Repository Maintenance**: Implemented automatic cleanup to prevent workflow run accumulation
15+
- **Critical Fix**: Resolved corrupted YAML structure in `test-upload.yml` workflow file
16+
- **Input Validation**: Fixed malformed workflow inputs that were preventing proper execution
17+
- **Path Consistency**: Ensured single file upload test uses correct OBS path with repository prefix
1918

2019
### 📋 Known Issues
2120
- No known issues in this release
22-
- All existing functionality remains stable
21+
- All workflows have been validated and are functioning correctly
2322

2423
### 🔗 Migration Guide
25-
- No breaking changes from v1.1.7
24+
- No breaking changes from v1.1.8
2625
- All existing workflows remain fully compatible
27-
- No code changes required for users
26+
- Workflow fixes are internal improvements that don't affect user-facing functionality
2827

2928
### 🛠️ Usage Example
3029
```yaml
3130
- name: Upload to OBS
3231
id: upload
33-
uses: diverger/[email protected].8
32+
uses: diverger/[email protected].9
3433
with:
3534
access_key: ${{ secrets.OBS_ACCESS_KEY }}
3635
secret_key: ${{ secrets.OBS_SECRET_KEY }}
3736
region: 'cn-north-4'
3837
bucket: 'my-bucket'
3938
operation: 'upload'
4039
local_path: 'dist/**/*'
41-
obs_path: 'releases/v1.1.8/'
40+
obs_path: 'gh-obs-helper/releases/v1.1.9/'
4241
public_read: true
4342

4443
- name: Use uploaded file URLs
@@ -47,5 +46,9 @@
4746
echo "All URLs: ${{ steps.upload.outputs.upload_urls }}"
4847
```
4948
49+
### 🙏 Contributors
50+
- Thank contributors
51+
- Mention community feedback
52+
5053
---
51-
**Full Changelog**: https://github.com/diverger/gh-obs-helper/compare/v1.1.7...v1.1.8
54+
**Full Changelog**: https://github.com/diverger/gh-obs-helper/compare/v1.1.8...v1.1.9

RELEASE_NOTES_ARCHIVE.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,58 @@ This file contains archived release notes for older versions of GH OBS Helper.
44

55
---
66

7+
## 🚀 GH OBS Helper Release v1.1.8
8+
9+
### 🎯 What's New
10+
- **Enhanced Documentation**: Added professional badges for license, release, and build status to README.md
11+
- **CI/CD Improvements**: Streamlined GitHub release workflow with modern action
12+
- **Repository Cleanup**: Added automated workflow run cleanup for better repository maintenance
13+
14+
### 🔧 Changes
15+
- **Documentation Updates**: Updated README.md with status badges for better project visibility
16+
- **Package Metadata**: Updated author information in package.json
17+
- **CI/CD Modernization**: Switched from deprecated actions/create-release to softprops/action-gh-release
18+
- **Workflow Cleanup**: Added automated cleanup of old workflow runs to maintain repository hygiene
19+
20+
### 🐛 Bug Fixes
21+
- **Release Process**: Improved GitHub release creation workflow reliability
22+
- **Repository Maintenance**: Implemented automatic cleanup to prevent workflow run accumulation
23+
24+
### 📋 Known Issues
25+
- No known issues in this release
26+
- All existing functionality remains stable
27+
28+
### 🔗 Migration Guide
29+
- No breaking changes from v1.1.7
30+
- All existing workflows remain fully compatible
31+
- No code changes required for users
32+
33+
### 🛠️ Usage Example
34+
```yaml
35+
- name: Upload to OBS
36+
id: upload
37+
uses: diverger/[email protected]
38+
with:
39+
access_key: ${{ secrets.OBS_ACCESS_KEY }}
40+
secret_key: ${{ secrets.OBS_SECRET_KEY }}
41+
region: 'cn-north-4'
42+
bucket: 'my-bucket'
43+
operation: 'upload'
44+
local_path: 'dist/**/*'
45+
obs_path: 'gh-obs-helper/releases/v1.1.8/'
46+
public_read: true
47+
48+
- name: Use uploaded file URLs
49+
run: |
50+
echo "First file URL: ${{ steps.upload.outputs.first_upload_url }}"
51+
echo "All URLs: ${{ steps.upload.outputs.upload_urls }}"
52+
```
53+
54+
---
55+
**Full Changelog**: https://github.com/diverger/gh-obs-helper/compare/v1.1.7...v1.1.8
56+
57+
---
58+
759
## 🚀 GH OBS Helper Release v1.1.7
860
961
### 🎯 What's New

0 commit comments

Comments
 (0)