Skip to content

Commit

Permalink
ci: retry
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarkhanzadian committed Sep 22, 2024
1 parent 1591dd6 commit bfc1610
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/actions/eas-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ runs:
# return the output of the most recent command that was captured by cap
ret () { cat /tmp/capture.out; }
# eas build --platform ios --profile=simulator --non-interactive | cap
echo "https://expo.dev/accounts/leather-wallet/projects/leather-wallet-mobile/builds/<should-succeed>" | cap
eas build --platform ios --profile=simulator --non-interactive | cap
# echo "https://expo.dev/accounts/leather-wallet/projects/leather-wallet-mobile/builds/<should-succeed>" | cap
# Last line of the build output is the link to the expo build
UNSAFE_BUILD_LINK=$(ret | tail -n 1)
if [[ $UNSAFE_BUILD_LINK == *"https://expo.dev/accounts/leather-wallet/projects/leather-wallet-mobile/builds/"* ]]; then
echo "FOUND LINK"
echo "Found build link!"
echo "BUILD_LINK=$UNSAFE_BUILD_LINK" >> $GITHUB_OUTPUT
else
echo "No build link!"
Expand All @@ -89,7 +91,7 @@ runs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: BUILD_LINK
body: "Expo simulator build link" + BUILD_LINK
})
- name: 🛫 Build for production 🛫
Expand Down

0 comments on commit bfc1610

Please sign in to comment.