From a7afa1161071e2a41e969ddd24d29661435f1747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=9C=C9=B4=E1=B4=8B=C9=B4=E1=B4=A1=E1=B4=8F=C9=B4?= Date: Tue, 30 Jun 2020 00:25:57 +0800 Subject: [PATCH] lsif: fix upload to private instance (#6216) --- .github/workflows/lsif.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.yml index ad91b875d..20136b788 100644 --- a/.github/workflows/lsif.yml +++ b/.github/workflows/lsif.yml @@ -8,17 +8,13 @@ jobs: - uses: actions/checkout@v1 - name: Generate LSIF data uses: sourcegraph/lsif-go-action@master - with: - verbose: 'true' - name: Upload LSIF data to sourcegraph.com - uses: sourcegraph/lsif-upload-action@master continue-on-error: true + uses: docker://sourcegraph/src-cli:latest with: - endpoint: https://sourcegraph.com - github_token: ${{ secrets.GITHUB_TOKEN }} + args: lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} - name: Upload LSIF data to sourcegraph.unknwon.cn - uses: sourcegraph/lsif-upload-action@master continue-on-error: true + uses: docker://sourcegraph/src-cli:latest with: - endpoint: https://sourcegraph.unknwon.cn - github_token: ${{ secrets.GITHUB_TOKEN }} + args: -endpoint=https://sourcegraph.unknwon.cn lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}