Pass `PR_NUMBER` to builds

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-09-18 13:52:56 +02:00
parent 9c3439a1aa
commit 07ed6772be
No known key found for this signature in database
GPG Key ID: 55C211A1226CB17D
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
PR_NUMBER: ${{github.event.number}}
steps:
- uses: actions/checkout@v2
- name: Build

View File

@ -5,6 +5,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
PR_NUMBER: ${{github.event.number}}
steps:
- uses: actions/checkout@v2
- uses: c-hive/gha-yarn-cache@v2