Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codeqlversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.20.1
6 changes: 6 additions & 0 deletions .github/actions/install-codeql/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ runs:
CODEQL_HOME: ${{ github.workspace }}/codeql_home
CODEQL_CLI_VERSION: ${{ inputs.codeql-cli-version }}
run: |
if [ -z "$CODEQL_CLI_VERSION" ]; then
echo "No CodeQL CLI version specified. Reading from .codeqlversion file."
CODEQL_CLI_VERSION=$(cat ./.codeqlversion)
fi
echo "Installing CodeQL CLI v${CODEQL_CLI_VERSION}."

mkdir -p $CODEQL_HOME
echo "Change directory to $CODEQL_HOME"
pushd $CODEQL_HOME
Expand Down