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 - name: Configure docker
run: | run: |
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} 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 - name: HOW TO RUN ODOO LOCALLY
if: always() if: always()
run: | run: |
@ -113,7 +113,7 @@ jobs:
- name: Configure docker - name: Configure docker
run: | run: |
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} 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 - name: Install python tools
run: | run: |
pip install plumbum PyGithub pyyaml pip install plumbum PyGithub pyyaml
@ -222,7 +222,7 @@ jobs:
- name: Configure Docker - name: Configure Docker
run: | run: |
bash DINAR/workflow-files/configure-docker.sh ${{ secrets.DINAR_TOKEN || secrets.GITHUB_TOKEN }} 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 - name: Analyze PR
run: | run: |
# sets environment variables that available in next steps via $ {{ env.PR_... }} notation # sets environment variables that available in next steps via $ {{ env.PR_... }} notation

Loading…
Cancel
Save