Skip to content

Commit 76862fa

Browse files
committed
update local install action so that the binary tools get created
1 parent e062bea commit 76862fa

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/actions/install-qlt-local/action.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,36 @@ runs:
4747
# repair permissions
4848
chmod +x ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/linux-x64/qlt
4949
chmod +r -R ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/linux-x64
50-
50+
51+
- uses: actions/setup-python@v5
52+
with:
53+
python-version: '3.11'
54+
55+
- name: Build CodeQL Bundle Tool for Packaging
56+
shell: pwsh
57+
run: |
58+
# need this for the bundling to work.
59+
pip install poetry
60+
pip install -U pyinstaller
61+
62+
# run the packaging
63+
./scripts/build_codeql_bundle_dist.ps1 -Version 0.2.0 -WorkDirectory dist -DestinationDirectory ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/linux-x64/tools/
64+
env:
65+
GH_TOKEN: ${{ github.token }}
66+
67+
- name: Build Bundle Archive
68+
shell: bash
69+
run: |
70+
echo "Current Directory $(pwd)"
71+
5172
# create bundle
5273
ARCHIVE="$(pwd)/qlt-linux-x86_64.zip"
5374
pushd ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/linux-x64
5475
zip -r $ARCHIVE .
5576
popd
5677
78+
79+
5780
- name: Move Artifacts
5881
shell: pwsh
5982
run: |

0 commit comments

Comments
 (0)