Pass PR_NUMBER to builds

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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