Skip to content

Work on fixing missing dlls #118

Work on fixing missing dlls

Work on fixing missing dlls #118

name: Windows
on: push
jobs:
buildWin:
runs-on: windows-latest
steps:
- name: checkout sources
uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
aqtversion: '==3.1.*'
version: '6.2.0'
arch: 'win64_mingw81'
extra: '--external 7z'
target: 'desktop'
host: 'windows'
modules: 'qtimageformats'
- name: Build Laigter
shell: cmd
run: |
qmake
make
dir
mkdir \laigter-windows
windeployqt --compiler-runtime --dir .\laigter-windows .\release\laigter.exe
copy /Y .\release\laigter.exe .\laigter-windows\laigter.exe
dir D:\a\laigter\Qt\Tools
tar.exe -a -c -f laigter-windows.zip laigter-windows
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: win-artifacts
path: laigter-windows.zip
- name: GitHub Releases
uses: svenstaro/upload-release-action@v2
if: startsWith(github.ref, 'refs/tags/')
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: laigter-windows.zip
tag: ${{ github.ref }}