ci(tests): only check conveyor modules on push

This commit is contained in:
Gauthier Roebroeck 2023-11-20 15:50:27 +08:00
parent 35f91969d6
commit 06d0d4ac9a

View File

@ -46,6 +46,7 @@ jobs:
path: komga/build/reports/tests/
- name: Conveyor - compute JDK module list
if: github.event_name == 'push'
uses: hydraulic-software/conveyor/actions/build@v12.0
with:
command: -f conveyor.detect.conf -Kapp.machines=mac.aarch64 make processed-jars
@ -53,6 +54,8 @@ jobs:
agree_to_license: 1
- name: Compare JDK required modules
id: conveyor_compare
if: github.event_name == 'push'
run: diff --unified ./komga-tray/conveyor/required-jdk-modules.txt ./output/required-jdk-modules.txt
- name: Upload JDK required modules