diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 096e89d9..bfdd8137 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,7 +96,7 @@ jobs: cp ios/MobileNebula.ipa build/app/test-ios cd build/app/test-ios unzip MobileNebula.ipa - find . | xargs strings &>/dev/null | grep -F "${TOKEN}" &>/dev/null && exit 1 + find . | xargs strings &>/dev/null | grep -F "${TOKEN}" &>/dev/null && { echo "Token found in iOS build!" ; exit 0 } - name: Collect iOS artifacts uses: actions/upload-artifact@v3 @@ -117,7 +117,7 @@ jobs: cp build/app/outputs/bundle/release/app-release.aab build/app/test-android cd build/app/test-android unzip app-release.aab - find . | xargs strings &>/dev/null | grep -F "${TOKEN}" &>/dev/null && exit 1 + find . | xargs strings &>/dev/null | grep -F "${TOKEN}" &>/dev/null && { echo "Token found in Android build!" ; exit 1 } - name: Collect Android artifacts uses: actions/upload-artifact@v3