Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Mar 12, 2023
1 parent 372724c commit 9b2d113
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- os: ubuntu-latest
DEPLOY_PATH: qhot-*.AppImage
- os: windows-latest
DEPLOY_PATH: qhot-*.zip
DEPLOY_PATH: qhot-Windows.zip

steps:
- name: Checkout repo
Expand Down Expand Up @@ -48,6 +48,10 @@ jobs:
run: |
cmake --build build --parallel --target ALL_BUILD --config Release
- name: Setup tmate session
if: runner.os == 'macOS'
uses: mxschmitt/action-tmate@v3

- name: Install LinuxDeploy
uses: miurahr/install-linuxdeploy-action@v1
if: runner.os == 'Linux'
Expand All @@ -58,10 +62,8 @@ jobs:
if: runner.os == 'macOS'
run: |
ls build
tree .
macdeployqt qhot.app/ -qmldir=../qml -dmg
ls
ls qhot.app
- name: Create Appimage
if: runner.os == 'Linux'
Expand All @@ -85,8 +87,13 @@ jobs:
}
foreach ($I in (${env:SYSTEM32_DLLS} -split ' ')) { copy ${env:SYSTEM32}\$I output\ }
windeployqt --qmldir qml --release output/qhot.exe --verbose=2
ls
ls output
- name: Zip windows
uses: vimtor/action-zip@v1
if: runner.os == 'Windows'
with:
files: output
dest: ${{ matrix.DEPLOY_PATH }}

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 9b2d113

Please sign in to comment.