Skip to content

Commit 711dcf9

Browse files
committed
debug: point directly at gh-codeql bundle unpack dir
1 parent ad7dac7 commit 711dcf9

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/workflows/update-codeql-version.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ jobs:
5757
gh extension install github/gh-codeql
5858
gh codeql set-version "${{ steps.version.outputs.version }}"
5959
gh codeql version --format=terse
60-
BUNDLE_CODEQL="$(gh codeql home 2>/dev/null || true)"
61-
echo "gh codeql home: $BUNDLE_CODEQL"
62-
find "$BUNDLE_CODEQL" -maxdepth 4 -iname "qlpacks" -type d 2>/dev/null || true
63-
find "$BUNDLE_CODEQL" -maxdepth 6 -path "*qlpacks/codeql*" -iname "qlpack.yml" 2>/dev/null | sort | head -80 || true
60+
BUNDLE_DIR="$HOME/.local/share/gh/extensions/gh-codeql/dist/release/v${{ steps.version.outputs.version }}"
61+
echo "bundle dir: $BUNDLE_DIR"
62+
ls -la "$BUNDLE_DIR" || true
63+
find "$BUNDLE_DIR" -maxdepth 2 -iname "qlpacks*" 2>/dev/null || true
64+
find "$BUNDLE_DIR" -maxdepth 8 -path "*qlpacks/codeql/go-all*" -iname "qlpack.yml" 2>/dev/null || true
65+
find "$BUNDLE_DIR" -maxdepth 8 -path "*qlpacks/codeql/*-all*" -iname "qlpack.yml" 2>/dev/null | sort || true
6466
6567
- name: Upgrade every pack's dependencies
6668
env:

0 commit comments

Comments
 (0)