Building Apps
When building apps, you can follow the same methods used in Building Workflows.
However, there is one important note about app contexts. When converting a workflow into an app, the workflow is moved to the Apps page and gains the additional app
context. Currently, the only property available on the app
context is target
, which represents the compute resource that is targeted by an app on any given run. The example below shows the context and property as app.target
, which is used in this case to print the target's name.
jobs:
main:
steps:
- name: Print app.target
run: echo ${{ app.target }}