Skip to content

Commit

Permalink
Fix Expo Go QR Code Generation (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
vecchp authored Feb 8, 2024
1 parent 79ddd29 commit 51afb76
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/eas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
affected_projects=$(yarn nx show projects --affected --withTarget eas-update)
# Convert the list to a JSON matrix
MATRIX_JSON=$(echo $affected_projects | jq -Rcs '
split("\n") |
map(select(. != "")) |
if length == 0 then
{}
else
{include: map({project: .})}
split("\n") |
map(select(. != "")) |
if length == 0 then
{}
else
{include: map({project: .})}
end'
)
IS_MATRIX_EMPTY=$(echo $MATRIX_JSON | jq 'if type == "object" and length == 0 then true else false end')
Expand Down Expand Up @@ -114,3 +114,4 @@ jobs:
command: eas update --auto
comment: true
working-directory: apps/${{ matrix.project }}
qr-target: expo-go

0 comments on commit 51afb76

Please sign in to comment.