# lsif-upload-action **Repository Path**: mirrors_sourcegraph/lsif-upload-action ## Basic Information - **Project Name**: lsif-upload-action - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Sourcegraph LSIF Uploader GitHub Action This action uploads generated LSIF data to a Sourcegraph instance. ## Usage The following inputs can be set. | name | default | description | | -------- | ----------------------- | ----------- | | `file` | dump.lsif | The LSIF dump file to upload. | | `root` | '' | The root of the LSIF dump. | | `endpoint` | https://sourcegraph.com | The Sourcegraph instance to target. | | `ignore_upload_failure` | false | Permit action to succeed if uploading the LSIF dump to `endpoint` fails. | The following is a complete example that uses the [Go indexer action](https://github.com/sourcegraph/lsif-go-action) to generate data to upload. Put this in `.github/workflows/lsif.yaml`. ``` name: LSIF on: - push jobs: index: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Generate LSIF data uses: sourcegraph/lsif-go-action@master - name: Upload LSIF data uses: sourcegraph/lsif-upload-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} ```