From c6dcfbdc669bfb7006feeb1b6a9d29c963cb63ea Mon Sep 17 00:00:00 2001 From: Kay Hayen Date: Sat, 18 Mar 2023 08:38:58 +0100 Subject: [PATCH] Fix, app bundle is of course macOS specific. --- action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 5e689f1..1c9e50a 100644 --- a/action.yml +++ b/action.yml @@ -223,7 +223,9 @@ runs: ARGS+=" --include-package-data=$datum" done fi - if [ "${{ inputs.macos-create-app-bundle }}" == "true" || "${{ inputs.disable-console }}" == "${{ true }}" ]; then - ARGS+=" --macos-create-app-bundle" + if [ ${{ runner.os }} == 'macOS' ]; then + if [ "${{ inputs.macos-create-app-bundle }}" == "true" || "${{ inputs.disable-console }}" == "${{ true }}" ]; then + ARGS+=" --macos-create-app-bundle" + fi fi python -m nuitka $ARGS "${{ inputs.script-name }}"