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
|
- uses: actions/checkout@v1
|
||||||
- name: Generate LSIF data
|
- name: Generate LSIF data
|
||||||
uses: sourcegraph/lsif-go-action@master
|
uses: sourcegraph/lsif-go-action@master
|
||||||
with:
|
|
||||||
verbose: 'true'
|
|
||||||
- name: Upload LSIF data to sourcegraph.com
|
- name: Upload LSIF data to sourcegraph.com
|
||||||
uses: sourcegraph/lsif-upload-action@master
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
uses: docker://sourcegraph/src-cli:latest
|
||||||
with:
|
with:
|
||||||
endpoint: https://sourcegraph.com
|
args: lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Upload LSIF data to sourcegraph.unknwon.cn
|
- name: Upload LSIF data to sourcegraph.unknwon.cn
|
||||||
uses: sourcegraph/lsif-upload-action@master
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
uses: docker://sourcegraph/src-cli:latest
|
||||||
with:
|
with:
|
||||||
endpoint: https://sourcegraph.unknwon.cn
|
args: -endpoint=https://sourcegraph.unknwon.cn lsif upload -github-token=${{ secrets.GITHUB_TOKEN }}
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
Loading…
Reference in New Issue