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

sourcegraph/lsif-java-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

DEPRECATED: Sourcegraph Java LSIF Indexer GitHub Action

This action is no longer needed. It's recommended to use the action coursier/setup-action to install lsif-java directly instead.

The sourcegraph/sbt-sourcegraph repository has a self-contained example for how to run lsif-java with GitHub Actions.

See the lsif-java documentation for more detailed instructions on how to use lsif-java.

A workflow file using coursier/setup-action to install lsif-java could like this:

  // .github/workflows/lsif.yaml
  name: LSIF
  on: [push, pull_request]
  jobs:
    build:
      name: Build and push LSIF data
      runs-on: ubuntu-latest
      steps:
        - uses: actions/checkout@v2
+       - name: Install lsif-java
+         uses: coursier/[email protected]
+         with:
+           apps: lsif-java
        - name: Generate LSIF data
+         run: lsif-java index
-         uses: sourcegraph/lsif-java-action@master
-         with:
-           verbose: true
        - name: Upload LSIF data
          uses: sourcegraph/lsif-upload-action@master
          with:
            endpoint: https://sourcegraph.com
            github_token: ${{ secrets.GITHUB_TOKEN }}
            file: dump.lsif

See the coursier/setup-action repository for more details on how to use coursier/setup-action.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •