Skip to content

Commit

Permalink
chore: skip cache when checking build status (#10948)
Browse files Browse the repository at this point in the history
* chore: skip cache when checking build status

* chore: address review comments
  • Loading branch information
MounirDhahri authored Oct 14, 2024
1 parent a89e981 commit 34c3dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/deploys/deploy-beta-android
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source ./scripts/ci/ci-setup-export-vars

# Check if there is a build in progress
echo "Checking if there is a build in progress..."
build_status=$(curl https://circleci.com/api/v1.1/project/github/artsy/eigen/tree/beta-android -s | jq -r '.[0].status')
build_status=$(curl "https://circleci.com/api/v1.1/project/github/artsy/eigen/tree/beta-android?filter=running&limit=1&shallow=true" -s -H 'Cache-Control: no-cache' | jq -r '.[0].status')

# Check if the build status is "running"
if [ "$build_status" = "running" ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploys/deploy-beta-ios
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source ./scripts/ci/ci-setup-export-vars

# Check if there is a build in progress
echo "Checking if there is a build in progress..."
build_status=$(curl https://circleci.com/api/v1.1/project/github/artsy/eigen/tree/beta-ios -s | jq -r '.[0].status')
build_status=$(curl "https://circleci.com/api/v1.1/project/github/artsy/eigen/tree/beta-ios?filter=running&limit=1&shallow=true" -s -H 'Cache-Control: no-cache' | jq -r '.[0].status')

# Check if the build status is "running"
if [ "$build_status" = "running" ]; then
Expand Down

0 comments on commit 34c3dec

Please sign in to comment.