Skip to content

Commit

Permalink
Don't access env where it's not available
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Oct 3, 2024
1 parent bf14348 commit d8998c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
with:
type: adhoc
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}
pull_request_number: ${{ env.PULL_REQUEST_NUMBER }}
pull_request_number: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }}

uploadAndroid:
name: Upload Android app to S3
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
with:
type: adhoc
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}
pull_request_number: ${{ env.PULL_REQUEST_NUMBER }}
pull_request_number: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }}

uploadIOS:
name: Upload IOS app to S3
Expand Down

0 comments on commit d8998c4

Please sign in to comment.