Skip to content

Commit

Permalink
Add back export options
Browse files Browse the repository at this point in the history
  • Loading branch information
a-mabe committed Jan 1, 2025
1 parent 46e5161 commit 818ffb8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/nightly_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
echo "keyAlias=${{ secrets.SIGNING_KEY_ALIAS }}" >> android/key.properties
- name: Build Android Release APK
run: flutter build apk --release
run: flutter build apk --debug

- name: Build Android Release AppBundle
run: flutter build appbundle
run: flutter build appbundle --debug

- name: Upload APK Artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
# EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }}
EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }}
run: |
# create variables
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
Expand All @@ -114,12 +114,11 @@ jobs:
# apply provisioning profile
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
# EXPORT_OPTS_PATH=$RUNNER_TEMP/ExportOptions.plist
# echo -n "$EXPORT_OPTIONS_PLIST" | base64 --decode -o $EXPORT_OPTS_PATH
EXPORT_OPTS_PATH=$RUNNER_TEMP/ExportOptions.plist
echo -n "$EXPORT_OPTIONS_PLIST" | base64 --decode -o $EXPORT_OPTS_PATH
- name: Build and Sign IPA
run: flutter build ipa --debug
# --export-options-plist=$RUNNER_TEMP/ExportOptions.plist
run: flutter build ipa --debug --export-options-plist=$RUNNER_TEMP/ExportOptions.plist

- name: Upload IPA Artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 818ffb8

Please sign in to comment.