Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update mobile-app-build.yml (#846)

Leendert de Borstef1ad127e3b6
diff --git a/.github/workflows/mobile-app-build.yml b/.github/workflows/mobile-app-build.yml
index 1afc09f72..84e49620a 100644
--- a/.github/workflows/mobile-app-build.yml
+++ b/.github/workflows/mobile-app-build.yml
@@ -203,14 +203,6 @@ jobs:
ALIASVAULT_UPLOAD_KEY_PASSWORD=${{ secrets.ANDROID_KEY_PASSWORD }}
EOF
- - name: Build JS bundle (Android - Expo)
- run: |
- mkdir -p build
- npx expo export \
- --dev \
- --output-dir ./build \
- --platform android
-
- name: Build Signed APK & AAB
run: |
cd android
@@ -234,7 +226,7 @@ jobs:
build-ios-signed:
needs: setup
if: github.event_name == 'workflow_dispatch' && github.event.inputs.build_ios_signed == 'true'
- runs-on: macos-latest
+ runs-on: macos-15
defaults:
run:
working-directory: apps/mobile-app
@@ -275,19 +267,42 @@ jobs:
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp AliasVault.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/
- - name: Build JS bundle (iOS - Expo)
+ - name: Install CocoaPods
run: |
- mkdir -p build
- npx expo export \
- --dev \
- --output-dir ./build \
- --platform ios
+ cd ios
+ pod install
- name: Build iOS IPA
+ env:
+ IDEFileSystemSynchronizedGroupsAreEnabled: NO
+ XCODE_WORKSPACE: AliasVault.xcworkspace
+ XCODE_SCHEME: AliasVault
+ XCODE_CONFIGURATION: Release
+ XCODE_ARCHIVE_PATH: AliasVault.xcarchive
+ XCODE_EXPORT_PATH: ./build
+ XCODE_SKIP_FILESYSTEM_SYNC: true
+ XCODE_PROVISIONING_PROFILE_SPECIFIER: AliasVault_GitHub_Actions_Provisioning
+ XCODE_DEVELOPMENT_TEAM: 8PHW4HN3F7
+ XCODE_CODE_SIGN_IDENTITY: "Apple Distribution"
run: |
cd ios
- xcodebuild -workspace AliasVault.xcworkspace -scheme AliasVault -configuration Release -archivePath AliasVault.xcarchive archive
- xcodebuild -exportArchive -archivePath AliasVault.xcarchive -exportOptionsPlist ../exportOptions.plist -exportPath ./build
+ xcodebuild clean -workspace $XCODE_WORKSPACE \
+ -scheme $XCODE_SCHEME \
+ -configuration $XCODE_CONFIGURATION
+ xcodebuild -workspace $XCODE_WORKSPACE \
+ -scheme $XCODE_SCHEME \
+ -configuration $XCODE_CONFIGURATION \
+ -archivePath $XCODE_ARCHIVE_PATH \
+ -destination 'generic/platform=iOS' \
+ CODE_SIGN_IDENTITY=$XCODE_CODE_SIGN_IDENTITY \
+ PROVISIONING_PROFILE_SPECIFIER=$XCODE_PROVISIONING_PROFILE_SPECIFIER \
+ DEVELOPMENT_TEAM=$XCODE_DEVELOPMENT_TEAM \
+ archive
+ xcodebuild -exportArchive \
+ -archivePath $XCODE_ARCHIVE_PATH \
+ -exportOptionsPlist ../exportOptions.plist \
+ -exportPath $XCODE_EXPORT_PATH
+
- name: Upload IPA
uses: actions/upload-artifact@v4