Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangxl88 authored Nov 14, 2024
1 parent fcaa440 commit 061e34c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,5 @@ jobs:
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
# 拉取Github Codeql编译结果到本地,使用vscode进行分析
# 第一步,将codeql生成数据库相关文件夹打包,/home/runner/work/_temp/codeql_databases 一般情况下为通用路径,有相关保存请查看日志查看数据生成语句存放位置
- name: Tar files
# run: tar -cvf my_files.tar /home/runner/work/_temp/codeql_databases
run: tar -cvf my_files.tar /home/runner/work/demo/results/java.sarif
# 第二步,将生成的结果文件,推到Github中
- name: upload result
uses: actions/upload-artifact@v3
with:
name: result
path: my_files.tar


0 comments on commit 061e34c

Please sign in to comment.