mirror of https://github.com/gogs/gogs.git
lsif: fix upload to private instance (#6216)
parent
2fe4d07599
commit
a7afa11610
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue