Skip to content

Commit ce2ea2b

Browse files
committed
temp: testing hacks.
1 parent 0d4301d commit ce2ea2b

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

.github/workflows/eas.release.native.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,25 @@ jobs:
4242
working-directory: packages/user-defaults-suite-ios
4343
run: npm run prepare
4444

45-
- name: Debug Environment
45+
- name: Create dummy appclip Info.plist for npx expo-config
46+
working-directory: packages/clippy
4647
run: |
47-
echo "Node version: $(node -v)"
48-
echo "npm version: $(npm -v)"
49-
echo "Expo CLI version: $(npx expo --version)"
50-
EXPO_DEBUG=true npx expo config --json --type introspect || echo "Command failed with exit code $?"
48+
echo "Current directory: $(pwd)"
49+
mkdir -p ios/ClippyClip
50+
touch ios/ClippyClip/Info.plist
5151
5252
- name: Build and Submit on EAS (iOS and Android)
5353
if: ${{ github.event.inputs.skip_ios != 'true' && github.event.inputs.skip_android != 'true' }}
5454
working-directory: packages/clippy
55-
run: EXPO_NO_CAPABILITY_SYNC=1 eas build --platform all --non-interactive #--auto-submit
55+
run: |
56+
echo "Current directory: $(pwd)"
57+
if [[ -f $(pwd)/ios/ClippyClip/Info.plist ]]; then
58+
echo "Dummy Info.plist exists"
59+
else
60+
echo "Dummy Info.plist does not exist"
61+
fi
62+
63+
EXPO_NO_CAPABILITY_SYNC=1 eas build --platform all --non-interactive #--auto-submit
5664
5765
- name: Build and Submit on EAS (iOS)
5866
if: ${{ github.event.inputs.skip_ios != 'true' && github.event.inputs.skip_android == 'true' }}

packages/clippy/scripts/setup.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,16 @@ yarn install
2727
fi
2828

2929
# prepare the user-defaults-suite-ios module
30-
# echo "Preparing the UserDefaults native module..."
31-
# yarn workspace user-defaults-suite-ios clean
32-
# yarn workspace user-defaults-suite-ios prepare
30+
echo "Preparing the UserDefaults native module..."
31+
yarn workspace user-defaults-suite-ios clean
32+
yarn workspace user-defaults-suite-ios prepare
33+
34+
if [[ "$EAS_BUILD"]]; then
35+
if [[ -d ${IOS_DIR} ]]; then
36+
echo "Deleting ios directory from CI step"
37+
rm -rf $IOS_DIR
38+
fi
39+
fi
3340

3441

3542
if [[ -z "$EAS_BUILD" ]]; then

0 commit comments

Comments
 (0)