mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
fix: Ensure all build jobs run on push events
- Fix build job conditions to run on push events - Previously jobs were skipped because they only checked inputs - Now all components build automatically on push to master Build jobs now run on: ✅ Push events (automatic) - all components ✅ Manual trigger (optional) - selected components This ensures Linux, Windows, macOS, Android, and Backend all build!
This commit is contained in:
@@ -154,7 +154,7 @@ jobs:
|
|||||||
name: Build Linux Desktop
|
name: Build Linux Desktop
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-version
|
needs: get-version
|
||||||
if: contains(github.event.inputs.components, 'desktop')
|
if: contains(github.event.inputs.components, 'desktop') || github.event_name == 'push'
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -207,7 +207,7 @@ jobs:
|
|||||||
name: Build Windows Desktop
|
name: Build Windows Desktop
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-version
|
needs: get-version
|
||||||
if: contains(github.event.inputs.components, 'desktop')
|
if: contains(github.event.inputs.components, 'desktop') || github.event_name == 'push'
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -260,7 +260,7 @@ jobs:
|
|||||||
name: Build macOS Desktop
|
name: Build macOS Desktop
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: get-version
|
needs: get-version
|
||||||
if: contains(github.event.inputs.components, 'desktop')
|
if: contains(github.event.inputs.components, 'desktop') || github.event_name == 'push'
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -310,7 +310,7 @@ jobs:
|
|||||||
name: Build Android App
|
name: Build Android App
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-version
|
needs: get-version
|
||||||
if: contains(github.event.inputs.components, 'android')
|
if: contains(github.event.inputs.components, 'android') || github.event_name == 'push'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -355,7 +355,7 @@ jobs:
|
|||||||
name: Build Backend
|
name: Build Backend
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-version
|
needs: get-version
|
||||||
if: contains(github.event.inputs.components, 'backend')
|
if: contains(github.event.inputs.components, 'backend') || github.event_name == 'push'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user