Skip to content

Commit 03b18dd

Browse files
Fix SCIP uploads in CI (#1083)
1 parent aaf7b1a commit 03b18dd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/scip.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,15 @@ jobs:
1414
run: git config --global --add safe.directory $GITHUB_WORKSPACE
1515
- name: Generate SCIP data
1616
run: scip-go
17-
- name: Upload SCIP data
18-
run: src code-intel upload -github-token=${{ secrets.GITHUB_TOKEN }}
17+
18+
- name: Upload SCIP to Cloud
19+
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
20+
env:
21+
SRC_ENDPOINT: https://sourcegraph.com/
22+
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOTCOM }}
23+
24+
- name: Upload SCIP to S2
25+
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
26+
env:
27+
SRC_ENDPOINT: https://sourcegraph.sourcegraph.com/
28+
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_S2 }}

0 commit comments

Comments
 (0)