Skip to content

Workflow file for this run

on:
push:
branches:
- main
workflow_dispatch:
pull_request:

Check failure on line 7 in .github/workflows/try-login.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/try-login.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
jobs:
bytebase-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login Bytebase
id: bytebase-login
uses: bytebase/login-action@main
with:
bytebase-url: ${{ secrets.BYTEBASE_URL }}
service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- name: List projects
run: |
set -x
curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
-H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
-H 'Content-Type: application/json; charset=utf-8'