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.
- Host: GitHub
- URL: https://github.com/afeiship/action-coscli
- Owner: afeiship
- Created: 2018-07-13T01:54:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-04T08:15:40.000Z (almost 3 years ago)
- Last Synced: 2025-03-12T20:49:14.518Z (over 1 year ago)
- Topics: action, cli, coscli, github, tencent
- Language: Makefile
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```