fix env var name

This commit is contained in:
klensy 2021-02-26 05:41:25 +03:00
parent c0a54cc4eb
commit 16e08d223b
2 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ jobs:
run: "echo \"[CI_PR_NUMBER=$num]\"" run: "echo \"[CI_PR_NUMBER=$num]\""
env: env:
num: "${{ github.event.number }}" num: "${{ github.event.number }}"
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh
env: env:
@ -425,7 +425,7 @@ jobs:
run: "echo \"[CI_PR_NUMBER=$num]\"" run: "echo \"[CI_PR_NUMBER=$num]\""
env: env:
num: "${{ github.event.number }}" num: "${{ github.event.number }}"
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh
env: env:
@ -532,7 +532,7 @@ jobs:
run: "echo \"[CI_PR_NUMBER=$num]\"" run: "echo \"[CI_PR_NUMBER=$num]\""
env: env:
num: "${{ github.event.number }}" num: "${{ github.event.number }}"
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'" if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh
env: env:

View File

@ -110,7 +110,7 @@ x--expand-yaml-anchors--remove:
run: echo "[CI_PR_NUMBER=$num]" run: echo "[CI_PR_NUMBER=$num]"
env: env:
num: ${{ github.event.number }} num: ${{ github.event.number }}
if: success() && !env.SKIP_JOBS && github.event_name == 'pull_request' if: success() && !env.SKIP_JOB && github.event_name == 'pull_request'
- name: add extra environment variables - name: add extra environment variables
run: src/ci/scripts/setup-environment.sh run: src/ci/scripts/setup-environment.sh