Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jerray/setup-aliyun-cli-action

Install and configure Aliyun CLI for your GitHub Action workflow
https://github.com/jerray/setup-aliyun-cli-action

actions aliyun-cli github-actions github-actions-javascript

Last synced: 8 days ago
JSON representation

Install and configure Aliyun CLI for your GitHub Action workflow

Awesome Lists containing this project

README

        

# Setup Aliyun CLI Action

[![GitHub Action](https://github.com/jerray/setup-aliyun-cli-action/workflows/Main/badge.svg)](https://github.com/jerray/setup-aliyun-cli-action/actions?workflow=Main)

This action installs and configures the [Aliyun command line tool](https://github.com/aliyun/aliyun-cli) for GitHub Action jobs.

## Usage

```yaml
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