mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Query pack: include .rb and .erb sample files from queries directory
These are required by the qhelp files.
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -81,7 +81,9 @@ jobs:
|
||||
- name: Build Query Pack
|
||||
run: |
|
||||
codeql/codeql pack create ql/src --output target/packs
|
||||
cp -r ql/src/codeql-suites target/packs/github_codeql-ruby_*/
|
||||
PACK_FOLDER=$(readlink -f target/packs/github_codeql-ruby_*)
|
||||
cp -r ql/src/codeql-suites "${PACK_FOLDER}"/
|
||||
(cd ql/src; find queries \( -name '*.rb' -o -name '*.erb' \) -exec cp "{}" "${PACK_FOLDER}/{}" \;)
|
||||
- name: Compile with previous CodeQL versions
|
||||
run: |
|
||||
for version in $(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -3 | head -2); do
|
||||
|
||||
Reference in New Issue
Block a user