fix: cos yml cfg #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
# list | |
coscli ls cos://wms |