Skip to content

Setup Aliyun(Alibaba Cloud) CLI

Actions
Setup Aliyun command line tool, add it to the PATH and configure authentication
v1.1.0
Latest
Star (2)

AliYun CLI GitHub Actions

Test Actions status License

This action installs and configures Aliyun command line tool for use in your GitHub Action steps.

Usage

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

License

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.

About

Setup Aliyun command line tool, add it to the PATH and configure authentication
v1.1.0
Latest

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.