Skip to content

Setup Aliyun CLI

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

Setup Aliyun CLI Action

GitHub Action

This action installs and configures the Aliyun command line tool for GitHub Action jobs.

Usage

steps:
  - uses: actions/checkout@v1
  - uses: jerray/setup-aliyun-cli-action@v1.0.0
    with:
      aliyun-cli-version: '3.0.165'
      mode: AK
      access-key-id: ${{ secrets.ALIYUN_ACCESS_KEY_ID }}
      access-key-secret: ${{ secrets.ALIYUN_ACCESS_KEY_SECRET }}
      region: ${{ secrets.ALIYUN_REGION }}
  - run: aliyun oss cp ./dir oss://backet/path -r -u

Use aliyun.exe if the job runs on Windows.

License

MIT

Setup Aliyun 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.0.2
Latest

Setup Aliyun 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.