Make name of debugging artifact and DB within it configurable
This commit is contained in:
parent
848e5140d4
commit
e677af3fd0
42 changed files with 244 additions and 83 deletions
6
.github/workflows/__debug-artifacts.yml
generated
vendored
6
.github/workflows/__debug-artifacts.yml
generated
vendored
|
|
@ -45,6 +45,8 @@ jobs:
|
|||
with:
|
||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||
debug: true
|
||||
debug-artifact-name: my-debug-artifacts
|
||||
debug-database-name: my-db
|
||||
- name: Build code
|
||||
shell: bash
|
||||
run: ./build.sh
|
||||
|
|
@ -52,7 +54,7 @@ jobs:
|
|||
id: analysis
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: debug-artifacts-${{ matrix.os }}-${{ matrix.version }}
|
||||
name: my-debug-artifacts-${{ matrix.os }}-${{ matrix.version }}
|
||||
- shell: bash
|
||||
run: |
|
||||
LANGUAGES="cpp csharp go java javascript python"
|
||||
|
|
@ -62,7 +64,7 @@ jobs:
|
|||
echo "Missing a SARIF file for $language"
|
||||
exit 1
|
||||
fi
|
||||
if [[ ! -f "$language.zip" ]] ; then
|
||||
if [[ ! -f "my-db-$language.zip" ]] ; then
|
||||
echo "Missing a database bundle for $language"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue