Skip to content

Windows and mac builds #12

Windows and mac builds

Windows and mac builds #12

Workflow file for this run

name: Build and Release
on:
pull_request:
branches:
- main
push:
tags:
- 'v*'
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: Setup Qt environment
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
- name: Build QtPass
run: |
qmake qtpass.pro CONFIG+=static
nmake
copy README.md src\release\README.txt
copy LICENSE src\release\LICENSE.txt
- name: Install Inno Setup
run: choco install innosetup
- name: Create Installer with Inno Setup
run: ISCC.exe qtpass.iss
with:

Check failure on line 31 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build and Release

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 31, Col: 7): Unexpected value 'with'
QtDir: ${{ steps.install-qt.outputs.Qt5_DIR }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: PyQtPass-Windows
path: release
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup Qt environment
uses: jurplel/install-qt-action@v3
with:
version: '5.15.2'
- name: Build QtPass
run: |
qmake
make
macdeployqt main/QtPass.app
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: PyQtPass-macOS
path: macdeployqt main/QtPass.app