Lookup cached debug build
Workflow that calculates the fingerprint of the app and checks whether a debug build with the same fingerprint is cached and can be retrieved.
This workflow can be triggered by other workflows depending on it.
Usage
This workflow cannot be explicitly specified to be generated using SCI. It will be generated automatically if you choose to create workflow depending on it.
Detailed behavior
Below you can find detailed information about what the script does with your project when generating Lookup cached debug build workflow.
Input and output
Input:
platform: ('android' | 'ios')
- The platform for which the build should be looked up
Output:
build-exists: boolean
- whether the build was found in cachefingerprint: string
- the fingerprint calculated for specified platform
Fingerprint
This workflow uses @expo/fingerprint to generate
a hash string of your native code (called fingerprint). It then checks whether key
${{ inputs.platform }}-debug-build-${{ fingerprint }}
can be restored from cache.
Modified and created files
File | Changes |
---|---|
.github/workflows/lookup-cached-debug-build.yml | Contains the CI workflow. |
package.json |
|
Workflow details
build-debug-android
The following diagram represents the flow of the lookup-cached-debug-build
workflow: