Skip to content

Commit 8e505b6

Browse files
committed
fix: correct metadata setting for asset uploads in build workflows
1 parent 0c2ff5c commit 8e505b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: Upload Assets to OSS
2020
run: |
2121
ossutil sync tools oss://apps-fit2cloud-com/dev/maxkb --update --delete --force
22-
ossutil set-meta oss://apps-fit2cloud-com/dev/maxkb -r --include "*.mk" --meta "Content-Disposition:attachment#Content-Type:application/octet-stream"
22+
ossutil set-meta oss://apps-fit2cloud-com/dev/maxkb "Content-Disposition:attachment#Content-Type:application/octet-stream" -r --include "*.mk" --update

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: Upload Assets to OSS
2020
run: |
2121
ossutil sync tools oss://apps-fit2cloud-com/stable/maxkb --update --delete --force
22-
ossutil set-meta oss://apps-fit2cloud-com/stable/maxkb -r --include "*.mk" --meta "Content-Disposition:attachment#Content-Type:application/octet-stream"
22+
ossutil set-meta oss://apps-fit2cloud-com/stable/maxkb "Content-Disposition:attachment#Content-Type:application/octet-stream" -r --include "*.mk" --update

0 commit comments

Comments
 (0)