Skip to content

Commit a70c4e0

Browse files
authored
Modify AAR existence check to skip build
Change exit code to 0 for existing AAR check.
1 parent a577584 commit a70c4e0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/android-release-artifacts.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ jobs:
3838
fi
3939
if curl -I "https://ossci-android.s3.amazonaws.com/executorch/release/${VERSION}-${FLAVOR}/executorch.aar" | grep "200 OK"; then
4040
echo "AAR already exists at https://ossci-android.s3.amazonaws.com/executorch/release/${VERSION}-${FLAVOR}/executorch.aar"
41-
echo "Will skip build/upload"
42-
exit 1
41+
exit 0
4342
fi
4443
4544
build-aar:

0 commit comments

Comments
 (0)