From c6789912115a70e5de04dd6338832c4d3501c203 Mon Sep 17 00:00:00 2001 From: Victor Tran Date: Fri, 12 Apr 2024 23:34:16 +1000 Subject: [PATCH] Package app on macOS --- .github/workflows/macos.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 264330f..9db8118 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -38,7 +38,22 @@ jobs: project: theCheeseboard/contemporary-qml commitish: main - name: Install theterminal + id: theterminal uses: theCheeseboard/actions/build-cmake-project@actions with: project: . commitish: . + - name: Deploy theterminal + env: + SOURCE_DIRECTORY: ${{ steps.theterminal.outputs.source-directory }} + BUILD_DIRECTORY: ${{ steps.theterminal.outputs.build-directory }} + INSTALL_DIRECTORY: ${{ steps.theterminal.outputs.install-directory }} + runs: | + macdeployqt "$BUILD_DIRECTORY/application/theTerminal*.app" -qmlimport="$INSTALL_DIRECTORY/qml" -qmldir="$SOURCE_DIRECTORY" -qmlimport=/Users/victor/Qt/6.7.0/macos/qml/ + mkdir output + mv "$BUILD_DIRECTORY/application/theTerminal*.app" ./output/ + - name: Upload theterminal artifact + uses: actions/upload-artifact@v4 + with: + name: theterminal-macos + path: output