3 Star 0 Fork 1

HuaweiCloudDeveloper/obs-helper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
action.yml 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
Chenyt26 提交于 2023-05-25 10:08 .
# action.yml
name: 'Huawei Cloud OBS Helper Action'
description: 'Upload/Download files or folders to Huawei Cloud OBS'
inputs:
access_key:
description: "Access key id"
required: false
secret_key:
description: "Secret access key"
required: false
region:
description: 'Region'
required: false
default: 'cn-north-4'
bucket_name:
description: "The name of the bucket"
required: true
operation_type:
description: "Use 'download' to download object from obs, use 'upload' to upload object to obs, use 'createbucket' to create a new bucket, and use 'deletebucket' to delete a bucket."
required: true
local_file_path:
description: "Local file/folder path"
required: false
obs_file_path:
description: "The file/folder path of obs bucket"
required: false
include_self_folder:
description: "Include root folder when upload or download"
required: false
default: false
exclude:
description: "Exclude file or folder when download a folder"
required: false
public_read:
description: "Whether to enable the public read permission of the bucket."
required: false
default: false
storage_class:
description: "Bucket storage class that can be specified during the bucket creation"
required: false
clear_bucket:
description: "Whether to delete all objects and parts in the bucket"
required: false
default: true
branding:
icon: 'cloud'
color: 'red'
runs:
using: 'node16'
main: 'dist/index.js'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/HuaweiCloudDeveloper/obs-helper.git
[email protected]:HuaweiCloudDeveloper/obs-helper.git
HuaweiCloudDeveloper
obs-helper
obs-helper
master-dev

搜索帮助