Skip to content

Commit

Permalink
Merge pull request #33 from olafurpg/action
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg authored Jan 5, 2022
2 parents ffb8ffc + 8cefba1 commit d0c4b2a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/sourcegraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@ on:
push:
branches:
- main
pull_request:
pull_request:
jobs:
lsif:
runs-on: ubuntu-latest
name: "Upload LSIF"
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-go@v2
- uses: coursier/[email protected]
with:
go-version: "1.15.6"
- run: |
mkdir -p bin
curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o bin/src
chmod +x bin/src
export PATH="$PATH:$PWD/bin"
sbt sourcegraphUpload
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jvm: adopt:8
apps: lsif-java
- run: lsif-java index
- name: Upload LSIF data
uses: sourcegraph/lsif-upload-action@master
with:
endpoint: https://sourcegraph.com
github_token: ${{ secrets.GITHUB_TOKEN }}
file: dump.lsif

0 comments on commit d0c4b2a

Please sign in to comment.