Touch a file required to indicate to the toolcache that CodeQL is fully set up.

This commit is contained in:
Chris Gavin
2020-09-21 15:37:02 +01:00
parent 37668db1c4
commit 0a8bab6093
2 changed files with 6 additions and 0 deletions

View File

@@ -21,5 +21,8 @@ tar -xzf "/tmp/codeql-bundle.tar.gz" -C "$extraction_directory"
# Touch a special file that indicates to the CodeQL Action that this bundle was baked-in to the hosted runner images.
touch "$extraction_directory/pinned-version"
# Touch a file to indicate to the toolcache that setting up CodeQL is complete.
touch "$extraction_directory.complete"
# Test that the tool has been extracted successfully.
"$AGENT_TOOLSDIRECTORY/CodeQL/$codeql_bundle_version/x64/codeql/codeql" version