AppFlowy Builder is a tool designed to streamline the process of building and deploying AppFlowy applications across multiple platforms. This document outlines the necessary steps and requirements to use this tool effectively.
Before you begin, ensure you have the required secrets set in your repository settings. These secrets are essential for the workflows to operate correctly. For guidance on creating secrets, see GitHub's documentation on using secrets in GitHub Actions.
To build for iOS, set the following secrets in your repository:
IOS_CERTIFICATE_BASE64IOS_KEYCHAIN_PASSWORDIOS_PROVISION_PROFILE_BASE64P12_PASSWORD
For instructions on creating these secrets, refer to GitHub's guide on deploying Xcode applications.
To build for Android, set the following secrets:
ANDROID_UPLOAD_KEYSTOREANDROID_UPLOAD_KEYSTORE_KEY_PASSWORDANDROID_UPLOAD_KEYSTORE_STORE_PASSWORD
For instructions on creating these secrets, see Flutter's deployment guide for Android.
To build for macOS, set the following secrets:
MACOS_CERTIFICATE_BASE64MACOS_CODESIGN_ID
Refer to GitHub's guide on deploying Xcode applications for details.
Optional secrets for macOS:
MACOS_NOTARY_PWDMACOS_NOTARY_USERMACOS_TEAM_ID
For instructions on creating these secrets, see this guide on notarizing a command-line tool with NotaryTool.
Example command for macOS notarization:
xcrun notarytool submit AppFlowy.dmg --apple-id [YOUR_APPLE_ID] --team-id [YOUR_TEAM_ID] --password [YOUR_APPLE_APP_SPECIFIC_PASSWORD] -v -f "json" --waitCaution
Remember, all packages are zipped. Ensure to unzip them before use.
- Navigate to the
Actionstab in your repository. - Select the workflow you wish to run.
- Click the
Run workflowbutton. - Enter the required variables as prompted.