Skip to content

Commit 986ec51

Browse files
committed
mac os bundle
1 parent c2a1f82 commit 986ec51

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/internal-build-release-macos64.yml

+24-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,30 @@ jobs:
3434
3535
# repair permissions
3636
chmod +x ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/macos-arm64/qlt
37-
chmod -R +r ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/macos-arm64
38-
37+
chmod -R +r ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/macos-arm64
38+
39+
- uses: actions/setup-python@v5
40+
with:
41+
python-version: '3.11'
42+
43+
- name: Build CodeQL Bundle Tool for Packaging
44+
shell: pwsh
45+
run: |
46+
# need this for the bundling to work.
47+
pip install poetry
48+
pip install -U pyinstaller
49+
50+
# run the packaging
51+
./scripts/build_codeql_bundle_dist.ps1 -Version 0.2.0 -WorkDirectory dist -DestinationDirectory ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/macos-arm64/tools/
52+
env:
53+
GH_TOKEN: ${{ github.token }}
54+
55+
56+
- name: Build Bundle Archive
57+
shell: bash
58+
run: |
59+
echo "Current Directory $(pwd)"
60+
3961
# create bundle
4062
ARCHIVE="$(pwd)/qlt-macos-arm64.zip"
4163
pushd ./src/CodeQLToolkit.Core/bin/Release/net6.0/publish/macos-arm64

0 commit comments

Comments
 (0)