Skip to content

Commit a8eb2e7

Browse files
committed
Include download bundle action in test workflow
1 parent e1ff443 commit a8eb2e7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test-create-bundle.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@ on:
1010

1111
jobs:
1212
test:
13+
name: "Create custom bundle"
1314
runs-on: ubuntu-latest
1415
steps:
1516
- uses: actions/checkout@v3
16-
- run: |
17-
gh release download codeql-bundle-v2.14.0 --repo github/codeql-action --pattern codeql-bundle.tar.gz --dir ${RUNNER_TEMP}
18-
env:
19-
GH_TOKEN: ${{ github.token }}
17+
- uses: advanced-security/codeql-bundle-action/download-bundle@main
18+
id: download-bundle
19+
with:
20+
tag: "latest"
21+
platforms: "osx64,linux64,win64"
2022
- uses: advanced-security/codeql-bundle-action/create-bundle@main
2123
id: create-bundle
2224
with:
23-
bundle-path: ${{ runner.temp }}/codeql-bundle.tar.gz
25+
bundle-path: ${{ steps.download-bundle.outputs.output-path }}
2426
packs: "test/go-queries,test/go-customizations,test/java-queries,test/cpp-queries,test/javascript-queries"
2527
workspace: "${{ github.workspace }}/tests/codeql-workspace.yml"
2628
default-code-scanning-config: "${{ github.workspace }}/tests/code-scanning-config.yml"

0 commit comments

Comments
 (0)