Test
Some checks failed
Update odoo 18 / update (push) Failing after 15s

This commit is contained in:
mgite 2024-10-29 17:05:04 +04:00
parent 140bf1aaad
commit 3f9f40304b

View File

@ -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