Cheatography
https://cheatography.com
.yaml examples for build triggers, variable encoding/decoding, conditional statements, reusing sections
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Syntax
workflows:
hello-world-workflow:
name: Hello world workflow
scripts:
- echo "Hello World!"
|
Software versions
environment:
flutter: stable # Define the channel or version
xcode: latest # Define latest, edge or version
cocoapods: 1.9.1 # Define version or channel
node: 12.14.0 # Define version or channel
npm: 6.13.7 # Define channel or version
ndk: r21d # Define revision (e.g. r19c);
# Define it in build.gradle as well
java: 1.8 # Define version
ruby: 2.7.2 # Define version
|
|
|
Triggering
triggering:
defines the events for automatic build triggering and watched branches. |
Skip building a specific commit
|
include in commit message |
|
include in commit message |
Trigger on push to any branch
triggering:
events:
- push
branch_patterns:
- pattern: '*'
|
|
|
|