Setup Aliyun(Alibaba Cloud) CLI
ActionsSetup Aliyun command line tool, add it to the PATH and configure authentication
v1.1.0
LatestBy JCBLE
Tags
(2)This action installs and configures Aliyun command line tool for use in your GitHub Action steps.
Use latest release of aliyun-cli
steps:
- uses: actions/checkout@v1
- uses: JCBLE/[email protected]
with:
access-key-id: ${{ secrets.ALIYUN_ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.ALIYUN_ACCESS_KEY_SECRET }}
region: ${{ secrets.ALIYUN_REGION }}
env:
# use GITHUB_TOKEN to avoid trigger rate limit
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: aliyun oss cp ./dir oss://backet/path -r -u
Specify aliyun-cli version
steps:
- uses: actions/checkout@v1
- uses: JCBLE/[email protected]
with:
access-key-id: ${{ secrets.ALIYUN_ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.ALIYUN_ACCESS_KEY_SECRET }}
region: ${{ secrets.ALIYUN_REGION }}
aliyun-cli-version: 3.0.117
- run: aliyun oss cp ./dir oss://backet/path -r -u
MIT
Setup Aliyun(Alibaba Cloud) CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.