-
Notifications
You must be signed in to change notification settings - Fork 6
28 lines (27 loc) · 1.03 KB
/
test-create-bundle.yml
File metadata and controls
28 lines (27 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: "Test CodeQL Bundle: Create bundle"
on:
workflow_dispatch:
jobs:
test:
name: "Create custom bundle"
runs-on: ubuntu-latest
steps:
- uses: advanced-security/codeql-bundle-action/download-bundle@v2
id: download-bundle
with:
tag: "latest"
platforms: "osx64,linux64,win64"
- uses: actions/checkout@v4
- uses: advanced-security/codeql-bundle-action/create-bundle@v2
id: create-bundle
with:
bundle-path: ${{ steps.download-bundle.outputs.bundle-path }}
packs: "test/go-queries,test/go-customizations,test/java-queries,test/cpp-queries,test/javascript-queries"
workspace: "${{ github.workspace }}/tests/codeql-workspace.yml"
default-code-scanning-config: "${{ github.workspace }}/tests/code-scanning-config.yml"
platforms: "osx64,linux64,win64"
debug: "true"
- uses: actions/upload-artifact@v4
with:
name: codeql-bundles
path: ${{ steps.create-bundle.outputs.output-path }}