We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb8872 commit d6daa45Copy full SHA for d6daa45
1 file changed
.github/workflows/cli.yml
@@ -9,10 +9,18 @@ jobs:
9
steps:
10
- uses: actions/checkout@v2
11
12
- # Build the CLI
13
- name: Build CLI
14
- run: npm run build-cli
+ run: |
+ cd packaging
15
+ npm install
16
+ npm run build-cli
17
- # Upload an empty SARIF file
18
- name: Upload with CLI
- 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
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 }}
0 commit comments