mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-12 17:27:50 +08:00
19 lines
427 B
YAML
19 lines
427 B
YAML
name: SourceGraph Index
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
lsif:
|
|
name: Upload LSIF
|
|
if: github.repository == 'elves/elvish'
|
|
runs-on: ubuntu-latest
|
|
container: sourcegraph/lsif-go:latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Generate LSIF data
|
|
run: lsif-go
|
|
- name: Upload LSIF data
|
|
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} -ignore-upload-failure
|