lsif: fix upload to private instance (#6216)

pull/6237/head
ᴜɴᴋɴᴡᴏɴ 2020-06-30 00:25:57 +08:00 committed by GitHub
parent 2fe4d07599
commit a7afa11610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -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 }}