File tree Expand file tree Collapse file tree 1 file changed +24
-23
lines changed Expand file tree Collapse file tree 1 file changed +24
-23
lines changed Original file line number Diff line number Diff line change 11on :
2- push :
3- branches :
4- - main
5- workflow_dispatch :
6- pull_request :
7-
8- jobs :
9- bytebase-ci :
10- runs-on : ubuntu-latest
11- steps :
12- - uses : actions/checkout@v4
13- - name : Login Bytebase
14- id : bytebase-login
15- uses : bytebase/login-action@main
16- with :
17- bytebase-url : ${{ secrets.BYTEBASE_URL }}
18- service-key : ${{ secrets.BYTEBASE_SERVICE_KEY }}
19- service-secret : ${{ secrets.BYTEBASE_SERVICE_SECRET }}
20- - name : List projects
21- run : |
22- curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
23- -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
24- -H 'Content-Type: application/json; charset=utf-8'
2+ push :
3+ branches :
4+ - main
5+ workflow_dispatch :
6+ pull_request :
7+
8+ jobs :
9+ bytebase-ci :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Login Bytebase
14+ id : bytebase-login
15+ uses : bytebase/login-action@main
16+ with :
17+ bytebase-url : ${{ secrets.BYTEBASE_URL }}
18+ service-key : ${{ secrets.BYTEBASE_SERVICE_KEY }}
19+ service-secret : ${{ secrets.BYTEBASE_SERVICE_SECRET }}
20+ - name : List projects
21+ run : |
22+ set -x
23+ curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
24+ -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
25+ -H 'Content-Type: application/json; charset=utf-8'
You can’t perform that action at this time.
0 commit comments