diff --git a/README.md b/README.md index 7d037ab..2366699 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # setup-ossutil -[![build](https://github.com/yizhoumo/setup-ossutil/actions/workflows/build.yml/badge.svg)](https://github.com/yizhoumo/setup-ossutil/actions/workflows/build.yml) -[![functional](https://github.com/yizhoumo/setup-ossutil/actions/workflows/functional.yml/badge.svg)](https://github.com/yizhoumo/setup-ossutil/actions/workflows/functional.yml) +[![Continuous Integration](https://github.com/yizhoumo/setup-ossutil/actions/workflows/ci.yml/badge.svg)](https://github.com/yizhoumo/setup-ossutil/actions/workflows/ci.yml) +[![Functional](https://github.com/yizhoumo/setup-ossutil/actions/workflows/functional.yml/badge.svg)](https://github.com/yizhoumo/setup-ossutil/actions/workflows/functional.yml) -This action sets up [Alibaba Cloud OSSUTIL](https://github.com/aliyun/ossutil) for use in actions by: +This action sets up [Alibaba Cloud OSSUTIL](https://github.com/aliyun/ossutil) +for use in actions by: - downloading and caching ossutil by version and adding to PATH - configuring ossutil with your credentials @@ -21,7 +22,7 @@ steps: access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }} access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }} sts-token: ${{ secrets.OSS_STS_TOKEN }} # Optional - ossutil-version: '1.7.14' # Optional, default to '1.7.14'. Use 'latest' to get the latest version. + ossutil-version: '1.7.14' # Optional. Use 'latest' for the latest version. - run: ossutil cp -f file-to-upload.txt oss://your-bucket/path ``` diff --git a/action.yml b/action.yml index 1d3601d..715f48d 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ inputs: description: 'The STS Token of the credentials' required: false ossutil-version: - description: 'The OSSUTIL version to download and use' + description: 'The OSSUTIL version to download and use, or "latest" for the latest version.' required: false default: '1.7.14' github-token: