File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 99 steps :
1010 - uses : actions/checkout@v2
1111
12- # Build the CLI
1312 - name : Build CLI
14- run : npm run build-cli
13+ run : |
14+ cd packaging
15+ npm install
16+ npm run build-cli
1517
16- # Upload an empty SARIF file
1718 - name : Upload with CLI
18- run : node cli/code-scanning-cli.js upload --sarif-file src/testdata/empty-sarif.sarif --repository $GITHUB_REPOSITORY --commit $GITHUB_SHA --ref $GITHUB_REF --github-url $GITHUB_API_URL --github-auth ${{ github.token }}
19+ run : |
20+ node packaging/dist/code-scanning-cli-linux upload \
21+ --sarif-file src/testdata/empty-sarif.sarif \
22+ --repository $GITHUB_REPOSITORY \
23+ --commit $GITHUB_SHA \
24+ --ref $GITHUB_REF \
25+ --github-url $GITHUB_API_URL \
26+ --github-auth ${{ github.token }}
You can’t perform that action at this time.
0 commit comments