diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index cbc14c7..7510d85 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -80,6 +80,19 @@ jobs: run: | make -j$(nproc) + - name: Package + run: | + mkdir -p dist + cp release/triangles-qt.exe dist/ + windeployqt dist/triangles-qt.exe || true + # Copy runtime DLLs + for dll in libgcc_s_seh-1.dll libstdc++-6.dll libwinpthread-1.dll; do + cp /mingw64/bin/$dll dist/ 2>/dev/null || true + done + + - name: Strip binary + run: strip --strip-all dist/triangles-qt.exe + - name: Bundle Tor shell: powershell run: | @@ -98,19 +111,6 @@ jobs: Copy-Item -Recurse tor-extract/data dist/tor/data } - - name: Package - run: | - mkdir -p dist - cp release/triangles-qt.exe dist/ - windeployqt dist/triangles-qt.exe || true - # Copy runtime DLLs - for dll in libgcc_s_seh-1.dll libstdc++-6.dll libwinpthread-1.dll; do - cp /mingw64/bin/$dll dist/ 2>/dev/null || true - done - - - name: Strip binary - run: strip --strip-all dist/triangles-qt.exe - - name: Upload artifact uses: actions/upload-artifact@v4 with: