Skip to content

Install and configures Aliyun/Alibaba Cloud command line tool for use in your GitHub Action steps.

License

Notifications You must be signed in to change notification settings

JCBLE/setup-aliyun-cli

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

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/setup-aliyun-cli@v1.1.0
  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/setup-aliyun-cli@v1.1.0
  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

About

Install and configures Aliyun/Alibaba Cloud command line tool for use in your GitHub Action steps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%