Skip to content

Commit ecd14be

Browse files
committed
test artifacts
1 parent c038246 commit ecd14be

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.github/workflows/eas-build.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,7 @@ jobs:
5757
os: macos-latest
5858
- platform: android
5959
os: ubuntu-latest
60-
if: ${{ (inputs.android == true && matrix.platform == 'android') || (inputs.ios == true && matrix.platform == 'ios') }}
6160
steps:
62-
- name: Do not run ios matrix if ios input is false
63-
if: ${{ inputs.ios == false }} && ${{ matrix.platform == 'ios' }}
64-
run: |
65-
echo ${{ matrix.platform }}
66-
echo ${{ inputs.ios }}
67-
exit 1
68-
69-
- name: Do not run android matrix if android input is false
70-
if: ${{ inputs.android == false }} && ${{ matrix.platform == 'android' }}
71-
run: |
72-
echo ${{ matrix.platform }}
73-
echo ${{ inputs.android }}
74-
exit 1
75-
7661
- name: Check for EXPO_TOKEN
7762
run: |
7863
if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then
@@ -102,3 +87,12 @@ jobs:
10287

10388
- name: 📱 Run Build for ${{ matrix.platform }}
10489
run: pnpm build:${{ inputs.environment }}:${{ matrix.platform }} --non-interactive --no-wait --message "Build ${{ inputs.environment }} for ${{ matrix.platform }}" --local
90+
91+
- name: Upload ${{ matrix.platform }} Build
92+
uses: actions/upload-artifact@v4
93+
with:
94+
name: ${{ matrix.platform }}-build-${{ inputs.environment }}
95+
path: |
96+
*.apk
97+
*.aab
98+
*.ipa

0 commit comments

Comments
 (0)