Skip to content

Add input dir support #28

Add input dir support

Add input dir support #28

name: Windows
on: push
jobs:
buildWin:
runs-on: windows-latest
steps:
- name: checkout sources
uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '5.14.2'
modules: 'imageformats'
arch: win64_mingw73
aqtversion: '==1.1.6'
extra: '--external 7z'
- 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
tar.exe -a -c -f laigter-windows.zip laigter-windows
- 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 }}