Skip to content

Commit fd43ba0

Browse files
hmacaibaars
andauthored
Update .github/workflows/ruby-build.yml
Co-authored-by: Arthur Baars <[email protected]>
1 parent 6dcc884 commit fd43ba0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ruby-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ jobs:
118118
run: |
119119
PACKS=${{ runner.temp }}/query-packs
120120
rm -rf $PACKS
121-
codeql pack create ../misc/suite-helpers --output $PACKS
122-
codeql pack create ../shared/regex --output $PACKS
123-
codeql pack create ../shared/ssa --output $PACKS
124-
codeql pack create ../shared/tutorial --output $PACKS
125-
codeql pack create ql/lib --output $PACKS
126-
codeql pack create -j0 ql/src --output $PACKS --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
127-
PACK_FOLDER=$(readlink -f $PACKS/codeql/ruby-queries/*)
121+
codeql pack create ../misc/suite-helpers --output "$PACKS"
122+
codeql pack create ../shared/regex --output "$PACKS"
123+
codeql pack create ../shared/ssa --output "$PACKS"
124+
codeql pack create ../shared/tutorial --output "$PACKS"
125+
codeql pack create ql/lib --output "$PACKS"
126+
codeql pack create -j0 ql/src --output "$PACKS" --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
127+
PACK_FOLDER=$(readlink -f "$PACKS"/codeql/ruby-queries/*)
128128
codeql generate query-help --format=sarifv2.1.0 --output="${PACK_FOLDER}/rules.sarif" ql/src
129129
(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}/{}" \;)
130130
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)