Skip to content

Install and configure Aliyun CLI for your GitHub Action workflow

License

Notifications You must be signed in to change notification settings

jerray/setup-aliyun-cli-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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