Github Actions 4 years ago
parent
commit
d68906257a
  1. 6
      .github/workflows/DINAR-pr.yml

6
.github/workflows/DINAR-pr.yml

@ -68,7 +68,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"
echo "PR_FILES=../../REPO" >> $GITHUB_ENV
- name: HOW TO RUN ODOO LOCALLY
if: always()
run: |
@ -113,7 +113,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"
echo "PR_FILES=../../REPO" >> $GITHUB_ENV
- name: Install python tools
run: |
pip install plumbum PyGithub pyyaml
@ -222,7 +222,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"
echo "PR_FILES=../../REPO" >> $GITHUB_ENV
- name: Analyze PR
run: |
# sets environment variables that available in next steps via $ {{ env.PR_... }} notation

Loading…
Cancel
Save