setup-aliyun-cli-action

Install and configure Aliyun CLI for your GitHub Action workflow

MIT License

Stars
9
Committers
4

Setup Aliyun CLI Action

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

Usage

steps:
  - uses: actions/checkout@v1
  - uses: jerray/[email protected]
    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