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

https://github.com/afeiship/action-coscli

Github actions for coscli.
https://github.com/afeiship/action-coscli

action cli coscli github tencent

Last synced: 2 months ago
JSON representation

Github actions for coscli.

Awesome Lists containing this project

README

          

# action-coscli
> Github actions for coscli.

## usgae
```yml
- name: Use coscli
uses: afeiship/action-coscli@1.0.0
```

## config
```shell
gh secret set -f ~/.tencent/.env.wms.dicfree.cn
```

## full
```yml
name: coscli test workflow
on: [push]
jobs:
hello:
name: test coscli
runs-on: ubuntu-latest
env:
COS_YML: ${{ secrets.COS_YML }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use coscli
uses: afeiship/action-coscli@master

- name: Debug
run: |
#check env
printenv
coscli --version

# show config
coscli config show

# check .cos.yml file exists
cd ~
ls -alh
cat .cos.yaml
```