From 3f9f40304bfc4f119a451d133ff01a2ca60842a1 Mon Sep 17 00:00:00 2001 From: mgite Date: Tue, 29 Oct 2024 17:05:04 +0400 Subject: [PATCH] Test --- .gitea/workflows/workflows.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/workflows.yaml b/.gitea/workflows/workflows.yaml index 3e12c44..729a850 100644 --- a/.gitea/workflows/workflows.yaml +++ b/.gitea/workflows/workflows.yaml @@ -12,9 +12,6 @@ jobs: update: runs-on: ubuntu-22.04 steps: - - run: | - modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}') - - name: Setup correct time in build container run: ln -sf /usr/share/zoneinfo/Asia/Tbilisi /etc/localtime @@ -27,8 +24,9 @@ jobs: path: . fetch-depth: 0 - - run: | - modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}' | uniq | xargs -I {} sh -c 'find {} -type f -name "__manifest__.py" | grep -q "__manifest__.py" && echo {}' 2>/dev/null | sed -z 's/\n/,/g; s/,$/\n/') + - name: Testing + run: | + modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}') echo $modules_to_update - name: Deploy to main environment