Project Source Code
The SwapLab Private Builder offers two methods to supply your source code to the GitHub Action runner.
Options Available
- Upload .zip: Manually upload a compressed ZIP file of your project directory. This is useful for testing local changes that haven't been pushed to the remote repository yet. Maximum file size limit is 100MB.
- Use Repository: Pull the code directly from the main branch of your linked Target Action Repository. This is the recommended method for standard CI/CD pipelines and team environments.
Critical: Framework Matching Requirement
It is absolutely crucial that the contents of your Project Source Code (whether uploaded via .zip or pulled from the repository) perfectly match the Project Framework Type you selected in the UI.
- If you selected Cordova: Your project root must contain a
config.xml file.
- If you selected Capacitor: Your project root must contain a
capacitor.config.ts or capacitor.config.json file.
Build Failure Warning: If there is a mismatch (e.g., you upload a Cordova project but select "Capacitor" in the UI), the build will automatically fail. The selected engine specifically searches your source code for the configuration files unique to that framework before it can begin compiling.
Data Lifecycle Note: If you choose "Upload .zip", the uploaded file is strictly ephemeral. It is transferred securely to your Action runner, extracted to RAM, and permanently deleted from temporary storage immediately after the build process begins.