Skip to content

Commit 5ece274

Browse files
committed
flavor
1 parent de5b390 commit 5ece274

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
if curl -I "https://ossci-android.s3.amazonaws.com/executorch/release/${VERSION}-${FLAVOR}/executorch.aar" | grep "200 OK"; then
3939
echo "AAR already exists at https://ossci-android.s3.amazonaws.com/executorch/release/${VERSION}-${FLAVOR}/executorch.aar"
4040
echo "Will skip build/upload"
41-
exit 1
4241
fi
4342
4443
build-aar:
@@ -90,7 +89,7 @@ jobs:
9089
fi
9190
9291
FLAVOR="${{ inputs.flavor }}"
93-
if [ ! -z "$FLAVOR" ]; then
92+
if [ -n "$FLAVOR" ] && [ "$FLAVOR" != "xnnpack" ]; then
9493
GRADLE_ARGS+=" -Dflavor=${FLAVOR}"
9594
fi
9695

0 commit comments

Comments
 (0)