Merge pull request #42 from kiwix/feature/re-use-cd-from-main

Restore dependencies download, re-enable archive to apple
This commit is contained in:
BPH 2024-01-14 23:45:09 +01:00 committed by GitHub
commit 006b57dcea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 11 deletions

View File

@ -54,10 +54,9 @@ jobs:
- name: Install Kiwix dependencies
run:
|
# cd apple
# brew bundle
# cd ..
brew install xcodegen
cd apple
brew bundle
cd ..
- name: Generate project based on tag
env:
@ -179,9 +178,9 @@ jobs:
plutil -insert destination -string upload ./export.plist
plutil -insert method -string $EXPORT_METHOD ./export.plist
# - name: Upload Archive to Apple (App Store or Notarization)
# env:
# APPLE_STORE_AUTH_KEY_PATH: ${{ env.APPLE_STORE_AUTH_KEY_PATH }}
# APPLE_STORE_AUTH_KEY_ID: ${{ secrets.APPLE_STORE_AUTH_KEY_ID }}
# APPLE_STORE_AUTH_KEY_ISSUER_ID: ${{ secrets.APPLE_STORE_AUTH_KEY_ISSUER_ID }}
# run: xcrun xcodebuild -exportArchive -archivePath $PWD/Kiwix-$VERSION.xcarchive -exportPath $PWD/export/ -exportOptionsPlist export.plist -authenticationKeyPath $APPLE_STORE_AUTH_KEY_PATH -allowProvisioningUpdates -authenticationKeyID $APPLE_STORE_AUTH_KEY_ID -authenticationKeyIssuerID $APPLE_STORE_AUTH_KEY_ISSUER_ID
- name: Upload Archive to Apple (App Store or Notarization)
env:
APPLE_STORE_AUTH_KEY_PATH: ${{ env.APPLE_STORE_AUTH_KEY_PATH }}
APPLE_STORE_AUTH_KEY_ID: ${{ secrets.APPLE_STORE_AUTH_KEY_ID }}
APPLE_STORE_AUTH_KEY_ISSUER_ID: ${{ secrets.APPLE_STORE_AUTH_KEY_ISSUER_ID }}
run: xcrun xcodebuild -exportArchive -archivePath $PWD/Kiwix-$VERSION.xcarchive -exportPath $PWD/export/ -exportOptionsPlist export.plist -authenticationKeyPath $APPLE_STORE_AUTH_KEY_PATH -allowProvisioningUpdates -authenticationKeyID $APPLE_STORE_AUTH_KEY_ID -authenticationKeyIssuerID $APPLE_STORE_AUTH_KEY_ISSUER_ID

View File

@ -34,7 +34,7 @@ def main():
custom_apps.create_plists(custom_plist=Path("Custom.plist"))
# download the zim files
# custom_apps.download_zim_files()
custom_apps.download_zim_files()
# finally create the project file, containing all brands as targets
custom_apps.create_custom_project_file(path=Path("custom_project.yml"))