File tree Expand file tree Collapse file tree 2 files changed +103
-0
lines changed
Expand file tree Collapse file tree 2 files changed +103
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Extract directly to toolcache"
2+ description : " Extract the CodeQL bundle directly into the toolcache"
3+ versions :
4+ - linked
5+ operatingSystems :
6+ - macos
7+ - ubuntu
8+ env :
9+ CODEQL_ACTION_EXTRACT_TOOLCACHE : true
10+ CODEQL_ACTION_ZSTD_BUNDLE : true
11+ steps :
12+ - name : Remove CodeQL from toolcache
13+ uses : actions/github-script@v7
14+ with :
15+ script : |
16+ const fs = require('fs');
17+ const path = require('path');
18+ const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL');
19+ fs.rmdirSync(codeqlPath, { recursive: true });
20+ - id : init
21+ uses : ./../action/init
22+ with :
23+ languages : javascript
24+ tools : ${{ steps.prepare-test.outputs.tools-url }}
25+ - uses : ./../action/analyze
26+ with :
27+ output : ${{ runner.temp }}/results
28+ upload-database : false
You can’t perform that action at this time.
0 commit comments