From 9ef79246c998b9bdc3f989d4ffcd3baa565abde4 Mon Sep 17 00:00:00 2001 From: Akshat Patel Date: Mon, 16 Dec 2024 17:16:11 +0530 Subject: [PATCH] Add the fuck-swift-syntax flag --- preternatural-build/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/preternatural-build/action.yml b/preternatural-build/action.yml index caceb38..40f175d 100644 --- a/preternatural-build/action.yml +++ b/preternatural-build/action.yml @@ -21,6 +21,11 @@ inputs: description: 'The path to the derived data folder' required: false default: "preternatural-derived-data" + fuck-swift-syntax: + description: 'Enable the --fuck-swift-syntax flag for the build command' + required: false + default: false + type: boolean runs: using: 'composite' @@ -60,6 +65,9 @@ runs: # Construct the command as a string PRETERNATURAL_CMD="script -q /dev/null preternatural build --derived-data-path \"$DERIVED_DATA_PATH\" --platforms $PLATFORMS --configurations $CONFIGURATIONS" + if [ "${{ inputs.fuck-swift-syntax }}" == "true" ]; then + PRETERNATURAL_CMD="$PRETERNATURAL_CMD --fuck-swift-syntax" + fi echo "Running preternatural build command:" echo "${PRETERNATURAL_CMD}"