mirror of
https://github.com/github/codeql-action.git
synced 2026-01-02 20:50:05 +08:00
Use Node script to remove CodeQL cross-platform
This commit is contained in:
9
.github/workflows/__zstd-bundle.yml
generated
vendored
9
.github/workflows/__zstd-bundle.yml
generated
vendored
@@ -60,8 +60,13 @@ jobs:
|
||||
use-all-platform-bundle: 'false'
|
||||
setup-kotlin: 'true'
|
||||
- name: Remove CodeQL from toolcache
|
||||
run: |
|
||||
rm -rf $RUNNER_TOOL_CACHE/CodeQL
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL');
|
||||
fs.rmdirSync(codeqlPath, { recursive: true });
|
||||
- id: init
|
||||
uses: ./../action/init
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user