Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/react-native-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,47 +199,47 @@ jobs:
run: |
# Build with increased memory limit
export NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=4096"
eas build --platform android --profile development --local --non-interactive --output=./ResgridUnit-dev.apk
eas build --platform android --profile development --local --non-interactive --output=./ResgridRespond-dev.apk
env:
NODE_ENV: development

- name: 📱 Build Production APK
if: (matrix.platform == 'android' && (github.event.inputs.buildType == 'all' || github.event_name == 'push' || github.event.inputs.buildType == 'prod-apk'))
run: |
export NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=4096"
eas build --platform android --profile production-apk --local --non-interactive --output=./ResgridUnit-prod.apk
eas build --platform android --profile production-apk --local --non-interactive --output=./ResgridRespond-prod.apk
env:
NODE_ENV: production

- name: 📱 Build Production AAB
if: (matrix.platform == 'android' && (github.event.inputs.buildType == 'all' || github.event_name == 'push' || github.event.inputs.buildType == 'prod-aab'))
run: |
export NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=4096"
eas build --platform android --profile production --local --non-interactive --output=./ResgridUnit-prod.aab
eas build --platform android --profile production --local --non-interactive --output=./ResgridRespond-prod.aab
env:
NODE_ENV: production

- name: 📱 Build iOS Development
if: (matrix.platform == 'ios' && (github.event.inputs.buildType == 'all' || github.event_name == 'push' || github.event.inputs.buildType == 'ios-dev'))
run: |
export NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=4096"
eas build --platform ios --profile development --local --non-interactive --output=./ResgridUnit-ios-dev.ipa
eas build --platform ios --profile development --local --non-interactive --output=./ResgridRespond-ios-dev.ipa
env:
NODE_ENV: development

- name: 📱 Build iOS Ad-Hoc
if: (matrix.platform == 'ios' && (github.event.inputs.buildType == 'all' || github.event_name == 'push' || github.event.inputs.buildType == 'ios-adhoc'))
run: |
export NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=4096"
eas build --platform ios --profile internal --local --non-interactive --output=./ResgridUnit-ios-adhoc.ipa
eas build --platform ios --profile internal --local --non-interactive --output=./ResgridRespond-ios-adhoc.ipa
env:
NODE_ENV: production

- name: 📱 Build iOS Production
if: (matrix.platform == 'ios' && (github.event.inputs.buildType == 'all' || github.event_name == 'push' || github.event.inputs.buildType == 'ios-prod'))
run: |
export NODE_OPTIONS="--openssl-legacy-provider --max_old_space_size=4096"
eas build --platform ios --profile production --local --non-interactive --output=./ResgridUnit-ios-prod.ipa
eas build --platform ios --profile production --local --non-interactive --output=./ResgridRespond-ios-prod.ipa
env:
NODE_ENV: production

Expand All @@ -248,20 +248,20 @@ jobs:
with:
name: app-builds-${{ matrix.platform }}
path: |
./ResgridUnit-dev.apk
./ResgridUnit-prod.apk
./ResgridUnit-prod.aab
./ResgridUnit-ios-dev.ipa
./ResgridUnit-ios-adhoc.ipa
./ResgridUnit-ios-prod.ipa
./ResgridRespond-dev.apk
./ResgridRespond-prod.apk
./ResgridRespond-prod.aab
./ResgridRespond-ios-dev.ipa
./ResgridRespond-ios-adhoc.ipa
./ResgridRespond-ios-prod.ipa
retention-days: 7

- name: 📦 Upload Android build artifacts to Testfairy
if: (matrix.platform == 'android')
uses: alexfu/testfairy-upload-action@main
with:
api-key: ${{ secrets.TESTFAIRY_API_KEY }}
file: ./ResgridUnit-prod.apk
file: ./ResgridRespond-prod.apk
groups: Resgrid
notify: on

Expand All @@ -270,6 +270,6 @@ jobs:
uses: alexfu/testfairy-upload-action@main
with:
api-key: ${{ secrets.TESTFAIRY_API_KEY }}
file: ./ResgridUnit-ios-adhoc.ipa
file: ./ResgridRespond-ios-adhoc.ipa
groups: Resgrid
notify: on
Loading