aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-06-30 00:25:57 +0800
committerGitHub <noreply@github.com>2020-06-30 00:25:57 +0800
commita7afa1161071e2a41e969ddd24d29661435f1747 (patch)
tree318ab2a48449ff6b7bfa6da60c3bf463f3a530f6 /.github
parent2fe4d075995995fd0309ec8964aa06c9c90433f8 (diff)
lsif: fix upload to private instance (#6216)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lsif.yml12
1 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.yml
index ad91b875..20136b78 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 }}