Skip to content

Commit 5b35de6

Browse files
remove CODEQL_ACTION_DATABASE_DIR
1 parent 8608105 commit 5b35de6

13 files changed

Lines changed: 23 additions & 16 deletions

.github/workflows/integration-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
env:
2323
TEST_MODE: true
2424
- run: |
25-
cd "$CODEQL_ACTION_DATABASE_DIR"
25+
cd "$RUNNER_TEMP/codeql_databases"
2626
# List all directories as there will be precisely one directory per database
2727
# but there may be other files in this directory such as query suites.
2828
if [ "$(ls -d */ | wc -l)" != 6 ] || \

lib/finalize-db.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/finalize-db.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-tracer.js

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-tracer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/shared-environment.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/shared-environment.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/util.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/util.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/finalize-db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async function run() {
135135
core.exportVariable(sharedEnv.ODASA_TRACER_CONFIGURATION, '');
136136
delete process.env[sharedEnv.ODASA_TRACER_CONFIGURATION];
137137

138-
const databaseFolder = util.getRequiredEnvParam(sharedEnv.CODEQL_ACTION_DATABASE_DIR);
138+
const databaseFolder = util.getCodeQLDatabasesDir();
139139

140140
const sarifFolder = core.getInput('output');
141141
await io.mkdirP(sarifFolder);

0 commit comments

Comments
 (0)