Skip to content

Commit ecabbbc

Browse files
ci: Fix iOS app archive to contain the .app package
1 parent 3770484 commit ecabbbc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ env:
1010
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
1111
SENTRY_ALLOW_FAILURE: false
1212
MAESTRO_VERSION: 1.39.0
13+
APK_PATH: android/app/build/outputs/apk/release/app-release.apk
14+
APP_ARCHIVE_PATH: sentry_react_native.app.zip
1315

1416
concurrency:
1517
group: ${{ github.workflow }}-${{ github.ref }}
@@ -44,7 +46,7 @@ jobs:
4446
uses: actions/upload-artifact@v4
4547
with:
4648
name: empower-plant-react-native-android
47-
path: android/app/build/outputs/apk/release/app-release.apk
49+
path: ${{ env.APK_PATH }}
4850
retention-days: 60
4951

5052
build-ios:
@@ -84,11 +86,17 @@ jobs:
8486
| tee xcodebuild.log \
8587
| xcbeautify --quieter --is-ci --disable-colored-output
8688
89+
- name: Archive App
90+
run: |
91+
zip -r \
92+
${{ env.APP_ARCHIVE_PATH }} \
93+
ios/DerivedData/Build/Products/Release-iphonesimulator/sentry_react_native.app
94+
8795
- name: Upload APP
8896
uses: actions/upload-artifact@v4
8997
with:
9098
name: empower-plant-react-native-ios
91-
path: ios/DerivedData/Build/Products/Release-iphonesimulator/sentry_react_native.app
99+
path: ${{ env.APP_ARCHIVE_PATH }}
92100
retention-days: 60
93101

94102
- name: Upload logs

0 commit comments

Comments
 (0)