Skip to content

Commit d0c4b2a

Browse files
authored
Merge pull request #33 from olafurpg/action
2 parents ffb8ffc + 8cefba1 commit d0c4b2a

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/sourcegraph.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,21 @@ on:
33
push:
44
branches:
55
- main
6-
pull_request:
6+
pull_request:
77
jobs:
88
lsif:
99
runs-on: ubuntu-latest
1010
name: "Upload LSIF"
1111
steps:
1212
- uses: actions/checkout@v2
13-
- uses: olafurpg/setup-scala@v13
14-
- uses: actions/setup-go@v2
13+
- uses: coursier/[email protected]
1514
with:
16-
go-version: "1.15.6"
17-
- run: |
18-
mkdir -p bin
19-
curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o bin/src
20-
chmod +x bin/src
21-
export PATH="$PATH:$PWD/bin"
22-
sbt sourcegraphUpload
23-
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
jvm: adopt:8
16+
apps: lsif-java
17+
- run: lsif-java index
18+
- name: Upload LSIF data
19+
uses: sourcegraph/lsif-upload-action@master
20+
with:
21+
endpoint: https://sourcegraph.com
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
file: dump.lsif

0 commit comments

Comments
 (0)