Skip to content

Fix environment variable syntax in workflow #40

Fix environment variable syntax in workflow

Fix environment variable syntax in workflow #40

Workflow file for this run

name: macOS Qt Universal Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-macos:
runs-on: macos-latest
steps:
- name: 🧾 Checkout Repository
uses: actions/checkout@v4
- name: 📦 Install Qt with Multimedia
uses: jurplel/install-qt-action@v4
with:
version: '6.10'
target: 'desktop'
arch: 'clang_64'
modules: 'qtmultimedia'
- name: 🔍 Debug Installation Path
run: echo "Qt should be installed at: ${{ env.Qt6_DIR }}"

Check failure on line 26 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
- name: 🧰 Configure CMake for Universal Build
env:
QT_PATH: ${{ env.Qt6_DIR }}
run: |
cmake -S ./src -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \
-DCMAKE_PREFIX_PATH="${QT_PATH}"
- name: 🏗️ Build Application
run: cmake --build build --config Release
- name: 📦 Bundle Application with macdeployqt
env:
QT_PATH: ${{ env.Qt6_DIR }}
run: |
"${QT_PATH}/bin/macdeployqt" build/FastSoundSystem.app -verbose=2
- name: 🛫 Upload macOS App Bundle
uses: actions/upload-artifact@v4
with:
name: FastSoundSystem-macOS
path: build/FastSoundSystem.app