Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d77f49

Browse files
committed
Create parent folders
1 parent f69c5dc commit 0d77f49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
run: |
8383
codeql/codeql pack create ql/src --output target/packs
8484
PACK_FOLDER=$(readlink -f target/packs/github/codeql-ruby/*)
85-
(cd ql/src; find queries \( -name '*.qhelp' -o -name '*.rb' -o -name '*.erb' \) -exec cp "{}" "${PACK_FOLDER}/{}" \;)
85+
(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}/{}" \;)
8686
- name: Compile with previous CodeQL versions
8787
run: |
8888
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

0 commit comments

Comments
 (0)