Complete the code to define a workflow trigger for Xcode Cloud that starts on every push.
workflow.trigger = [1]Setting the trigger to "push" makes the workflow start automatically on every code push.
Complete the code to add a build action to the Xcode Cloud workflow.
workflow.addAction([1])The buildAction is used to compile the app in the workflow.
Fix the error in setting the environment variable for the workflow.
workflow.environmentVariables = {"API_KEY": [1]Environment variable values must be strings, so the API key should be in quotes.
Fill both blanks to configure the workflow to run tests only on the 'develop' branch.
workflow.testAction.branch = [1] workflow.trigger = [2]
Setting the testAction branch to "develop" and trigger to "push" runs tests on pushes to develop branch.
Fill all three blanks to define a deployment step that uploads the build to TestFlight after a successful build.
workflow.addAction({
type: [1],
destination: [2],
condition: [3]
})The deploy action uploads to TestFlight and runs only if the build succeeds (onSuccess).