Skip to content

Commit d0a3422

Browse files
update
1 parent e66a679 commit d0a3422

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/try-login.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@ jobs:
1717
bytebase-url: ${{ secrets.BYTEBASE_URL }}
1818
service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
1919
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
20+
- name: Debug API URL
21+
run: |
22+
echo "API URL Length: ${#${{ steps.bytebase-login.outputs.api_url }}}"
23+
echo "Token Length: ${#${{ steps.bytebase-login.outputs.token }}}"
2024
- name: List projects
2125
run: |
22-
curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
26+
curl "${{ steps.bytebase-login.outputs.api_url }}/v1/projects" \
2327
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
2428
-H 'Content-Type: application/json; charset=utf-8'

0 commit comments

Comments
 (0)