improvement: download native coursier and use it to download java #851
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sourcegraph | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lsif: | |
runs-on: ubuntu-latest | |
name: "Upload SCIP" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- run: | | |
cd packages/metals-vscode | |
yarn install | |
- name: index | |
run: | | |
cd packages/metals-vscode | |
yarn run scip-typescript index | |
- name: src lsif upload | |
run: | | |
cd packages/metals-vscode | |
mkdir -p bin | |
curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o bin/src | |
chmod +x bin/src | |
./bin/src lsif upload -trace=3 -ignore-upload-failure -github-token $GITHUB_TOKEN | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |