Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 754fd17

Browse files
committed
Migrate to scip
1 parent fb55675 commit 754fd17

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/main.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,22 @@ jobs:
1818
- uses: coursier/[email protected]
1919
with:
2020
jvm: adopt:11
21-
apps: lsif-java
2221
- name: Run tests with sbt
2322
run: sbt test
2423
- name: Compile docs
2524
run: sbt compileDocs
2625
- name: Generate LSIF
27-
run: lsif-java index
28-
- name: Upload LSIF data
29-
uses: sourcegraph/lsif-upload-action@master
26+
run: coursier launch com.sourcegraph:scip-java_2.13:0.8.2 -- index
27+
- uses: actions/setup-node@v1
3028
with:
31-
endpoint: https://sourcegraph.com
32-
github_token: ${{ secrets.GITHUB_TOKEN }}
33-
file: dump.lsif
29+
node-version: '16.x'
30+
- name: Install
31+
run: npm install -g @sourcegraph/src
32+
- name: Upload LSIF data
33+
run: src upload
34+
env:
35+
SRC_ENDPOINT: https://sourcegraph.com
36+
SRC_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3437

3538
publish:
3639
name: Publish release

0 commit comments

Comments
 (0)