mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Update .github/workflows/ruby-build.yml
Co-authored-by: Arthur Baars <aibaars@github.com>
This commit is contained in:
14
.github/workflows/ruby-build.yml
vendored
14
.github/workflows/ruby-build.yml
vendored
@@ -118,13 +118,13 @@ jobs:
|
||||
run: |
|
||||
PACKS=${{ runner.temp }}/query-packs
|
||||
rm -rf $PACKS
|
||||
codeql pack create ../misc/suite-helpers --output $PACKS
|
||||
codeql pack create ../shared/regex --output $PACKS
|
||||
codeql pack create ../shared/ssa --output $PACKS
|
||||
codeql pack create ../shared/tutorial --output $PACKS
|
||||
codeql pack create ql/lib --output $PACKS
|
||||
codeql pack create -j0 ql/src --output $PACKS --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
|
||||
PACK_FOLDER=$(readlink -f $PACKS/codeql/ruby-queries/*)
|
||||
codeql pack create ../misc/suite-helpers --output "$PACKS"
|
||||
codeql pack create ../shared/regex --output "$PACKS"
|
||||
codeql pack create ../shared/ssa --output "$PACKS"
|
||||
codeql pack create ../shared/tutorial --output "$PACKS"
|
||||
codeql pack create ql/lib --output "$PACKS"
|
||||
codeql pack create -j0 ql/src --output "$PACKS" --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
|
||||
PACK_FOLDER=$(readlink -f "$PACKS"/codeql/ruby-queries/*)
|
||||
codeql generate query-help --format=sarifv2.1.0 --output="${PACK_FOLDER}/rules.sarif" ql/src
|
||||
(cd ql/src; find queries \( -name '*.qhelp' -o -name '*.rb' -o -name '*.erb' \) -exec bash -c 'mkdir -p "'"${PACK_FOLDER}"'/$(dirname "{}")"' \; -exec cp "{}" "${PACK_FOLDER}/{}" \;)
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user