From 6f008f9a3fba8edc0ed4fbc6969a554eebee6630 Mon Sep 17 00:00:00 2001 From: Shorokhov Sergey Date: Mon, 18 Dec 2023 11:02:30 +0300 Subject: [PATCH] ci check --- .github/workflows/CI.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index efbc6bf..1fcbf5b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -91,15 +91,13 @@ jobs: run: | mkdir ../plugins/ - for sourcefile in *.sma; - do - amxxfile="`echo $sourcefile | sed -e 's/\.sma$/.amxx/'`" - echo -n "Compiling $sourcefile ... " - - amxxpc $sourcefile -o"../plugins/$amxxfile" \ + find * -name "*.sma" \ + -exec echo -e "\n\n> Compile {} <" \;\ + -exec ${amxxpc} {} \ -i"include" \ - -i"$REAPI_INCLUDE" - done + -i"$REAPI_INCLUDE" \ + -o../plugins/{} \ + \; - name: Move files run: |