Skip to content

Commit

Permalink
chore: Fix SCIP uploads in CI (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
varungandhi-src committed May 15, 2024
1 parent f56ce9d commit be5f7ee
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/scip-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: scip-go
push:
paths:
- '**.go'
- '.github/workflows/scip-go.yml'
jobs:
scip-go:
if: github.repository == 'sourcegraph/log'
Expand All @@ -19,20 +20,21 @@ jobs:
- name: Run scip-go
working-directory: ''
run: scip-go --no-animation
- name: Upload scip-go dump to Cloud
working-directory: ''

- name: Upload SCIP to Cloud
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
env:
SRC_ENDPOINT: https://sourcegraph.com/
- name: Upload scip-go dump to Dogfood
working-directory: ''
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOTCOM }}

- name: Upload SCIP to S2
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
|| true
env:
SRC_ENDPOINT: https://k8s.sgdev.org/
- name: Upload scip-go dump to Demo
working-directory: ''
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
|| true
SRC_ENDPOINT: https://sourcegraph.sourcegraph.com/
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_S2 }}
- name: Upload SCIP to Demo
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress || true
env:
SRC_ENDPOINT: https://demo.sourcegraph.com/
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DEMO }}

0 comments on commit be5f7ee

Please sign in to comment.