Skip to content

Commit 36d3790

Browse files
author
Kevin Mack
committed
Updating file path
1 parent 1a3d107 commit 36d3790

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# Find the correct path to the codeql executable and update the PATH or use it directly in subsequent commands
9292
# This step is crucial and might need adjustment based on the actual structure of the CodeQL CLI zip file
9393
# Assuming codeql is in /root/codeql/codeql after extraction
94-
EXECUTABLE_PATH="/root/codeql/codeql"
94+
EXECUTABLE_PATH="/root/codeql/codeql/codeql"
9595
9696
# Optionally, update the PATH in a way that's guaranteed to work for non-interactive shells
9797
docker exec $CONTAINER_NAME bash -c "echo 'export PATH=\$PATH:$EXECUTABLE_PATH' > /etc/profile.d/codeql.sh"
@@ -101,7 +101,7 @@ jobs:
101101
- name: codeql-init
102102
shell: bash
103103
run: |
104-
docker exec hostsvc-link bash -c "echo 'export PATH=\$PATH:/root/codeql/codeql' > /etc/profile.d/codeql.sh"
104+
docker exec hostsvc-link bash -c "echo 'export PATH=\$PATH:/root/codeql/codeql/codeql' > /etc/profile.d/codeql.sh"
105105
docker exec hostsvc-link bash -c "codeql database create my-codeql-database --language=csharp"
106106
107107
- name: manual-build-project-service
@@ -121,7 +121,7 @@ jobs:
121121
- name: codeql-analyze
122122
shell: bash
123123
run: |
124-
docker exec hostsvc-link bash -c "echo 'export PATH=\$PATH:/root/codeql/codeql' > /etc/profile.d/codeql.sh"
124+
docker exec hostsvc-link bash -c "echo 'export PATH=\$PATH:/root/codeql/codeql/codeql' > /etc/profile.d/codeql.sh"
125125
docker exec hostsvc-link bash -c "codeql database analyze my-codeql-database security-extended,security-and-quality --format=csv --output=/var/spacedev/tmp/analysis-results.csv"
126126
127127
- name: Upload analysis results

0 commit comments

Comments
 (0)