File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 2929 - uses : actions/setup-python@v4
3030 with :
3131 python-version : " 3.11"
32- - run : python -m pip install https://github.com/rvermeulen/codeql-bundle/releases/download/v0.2.0/codeql_bundle-0.2.0-py3-none-any.whl
32+ - run : |
33+ echo "::group::Installing dependencies"
34+ echo "Installing codeql-bundle v0.2.0"
35+ python -m pip install https://github.com/rvermeulen/codeql-bundle/releases/download/v0.2.0/codeql_bundle-0.2.0-py3-none-any.whl
36+ echo "::endgroup::"
3337 shell: bash
3438 - run : create-bundle/create-bundle.sh
3539 id : create-bundle
Original file line number Diff line number Diff line change 22
33set -e
44
5+ echo " ::group::Creating CodeQL bundle."
6+ echo " Using bundle at ${BUNDLE_PATH} ."
7+ echo " Using workspace at ${WORKSPACE} ."
58output_path=${RUNNER_TEMP} /codeql-bundle.tar.gz
69opts=()
710opts+=(" --bundle" " ${BUNDLE_PATH} " )
811opts+=(" --workspace" " ${WORKSPACE} " )
912if [[ -n ${PLATFORMS} ]]; then
13+ echo " Targetting the platforms ${PLATFORMS} ."
1014 for platform in $( echo $PLATFORMS | tr ' ,' ' ' ) ; do
1115 opts+=(" --platform" " ${platform} " )
1216 done
@@ -16,9 +20,12 @@ if [[ -n ${PLATFORMS} ]]; then
1620fi
1721opts+=(" --output" " ${output_path} " )
1822if [[ -n ${DEFAULT_CODE_SCANNING_CONFIG} ]]; then
23+ echo " Using code scanning config at ${DEFAULT_CODE_SCANNING_CONFIG} as the default config."
1924 opts+=(" --code-scanning-config" " ${DEFAULT_CODE_SCANNING_CONFIG} " )
2025fi
2126
27+
2228codeql-bundle ${opts[@]} $( echo ${PACKS} | tr ' ,' ' ' )
29+ echo " ::endgroup::"
2330
2431echo " output-path=${output_path} " >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 2222
2323opts+=(" --output ${output_path} " )
2424
25- echo gh release download --repo github/codeql-action ${opts[@]}
25+ echo " ::group::Downloading CodeQL bundle "
2626gh release download --repo github/codeql-action ${opts[@]}
27+ echo " ::endgroup::"
2728
2829echo " bundle-path=${output_path} " >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments