From 7b907e0a1595b6a32b088988810474b877bc9554 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Wed, 11 Mar 2020 14:31:26 +0000 Subject: [PATCH] :construction_worker_man: sync DINAR Pushed from https://github.com/itpp-labs/DINAR/.github/workflows/fork2repos.yml --- .github/workflows/DINAR-pr.yml | 3 +++ .github/workflows/DINAR.yml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/DINAR-pr.yml b/.github/workflows/DINAR-pr.yml index 9464fb9..d595c2a 100644 --- a/.github/workflows/DINAR-pr.yml +++ b/.github/workflows/DINAR-pr.yml @@ -144,6 +144,7 @@ jobs: - name: Configure docker run: | bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} + echo "::set-env name=PR_FILES::../../REPO" - name: Install python tools run: | pip install plumbum PyGithub pyyaml @@ -158,6 +159,7 @@ jobs: ODOO_BASE_MODULES=$(docker inspect \ --format '{{ index .Config.Labels "dinar.odoo.modules"}}' \ dinar_odoo_1) + echo "ODOO_BASE_MODULES=$ODOO_BASE_MODULES" # sets environment variables that available in next steps via $ {{ env.PR_... }} notation cd REPO @@ -238,6 +240,7 @@ jobs: - name: Configure Docker run: | bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} + echo "::set-env name=PR_FILES::../../REPO" - name: Analyze PR run: | # sets environment variables that available in next steps via $ {{ env.PR_... }} notation diff --git a/.github/workflows/DINAR.yml b/.github/workflows/DINAR.yml index c18943a..089d610 100644 --- a/.github/workflows/DINAR.yml +++ b/.github/workflows/DINAR.yml @@ -63,7 +63,6 @@ jobs: password: ${{ env.REGISTRY_PASSWORD }} buildargs: ODOO_VERSION,AGGREGATE,PIP_INSTALL_ODOO,CLEAN,COMPILE,LOCAL_CUSTOM_DIR workdir: REPO/.DINAR/ - cache: ${{ github.event_name != 'schedule' }} - name: Install python tools run: | pip install plumbum pyyaml