|
1 |
| -name: 'Run Unity Cloud Build' |
2 |
| -author: 'Condense <[email protected]>' |
3 |
| -description: 'Runs relevant build via Unity Cloud Build' |
| 1 | +name: "Run Unity Cloud Build" |
| 2 | +author: "Condense <[email protected]>" |
| 3 | +description: "Runs relevant build via Unity Cloud Build" |
4 | 4 | inputs:
|
5 | 5 | unity_cloud_build_api_key:
|
6 |
| - description: 'Unity Cloud Build API key' |
| 6 | + description: "Unity Cloud Build API key" |
7 | 7 | required: true
|
8 | 8 | unity_cloud_build_org_id:
|
9 |
| - description: 'Unity Cloud Build Org ID' |
| 9 | + description: "Unity Cloud Build Org ID" |
10 | 10 | required: true
|
11 | 11 | unity_cloud_build_project_id:
|
12 |
| - description: 'Unity Cloud Build Project ID' |
| 12 | + description: "Unity Cloud Build Project ID" |
13 | 13 | required: true
|
14 | 14 | unity_cloud_build_polling_interval:
|
15 |
| - description: 'Interval to poll Unity Cloud Build' |
| 15 | + description: "Interval to poll Unity Cloud Build" |
16 | 16 | required: false
|
17 |
| - default: '60' |
| 17 | + default: "60" |
18 | 18 | unity_cloud_build_primary_target:
|
19 |
| - description: 'Unity Cloud Build Primary Target ID' |
| 19 | + description: "Unity Cloud Build Primary Target ID" |
| 20 | + required: true |
| 21 | + unity_cloud_build_profile_env: |
| 22 | + description: "Unity Cloud buildProfile environment variable" |
20 | 23 | required: true
|
21 | 24 | unity_cloud_build_download_binary:
|
22 |
| - description: 'Download the build binary to env.ARTIFACT_FILEPATH' |
| 25 | + description: "Download the build binary to env.ARTIFACT_FILEPATH" |
23 | 26 | required: false
|
24 | 27 | unity_cloud_build_create_share:
|
25 |
| - description: 'Create a sharing url in UnityCloudBuild and output to env.SHARE_URL' |
| 28 | + description: "Create a sharing url in UnityCloudBuild and output to env.SHARE_URL" |
26 | 29 | required: false
|
27 | 30 | unity_cloud_build_use_existing_build_number:
|
28 |
| - description: 'Force the process to use an existing build number instead of starting a new build' |
| 31 | + description: "Force the process to use an existing build number instead of starting a new build" |
29 | 32 | required: false
|
30 | 33 | unity_cloud_build_github_branch_ref:
|
31 |
| - description: 'github branch reference to build (github.ref). This will create new build targets if the branch differs from the default target, to support pull requests and tags' |
| 34 | + description: "github branch reference to build (github.ref). This will create new build targets if the branch differs from the default target, to support pull requests and tags" |
32 | 35 | required: true
|
33 | 36 | unity_cloud_build_github_head_ref:
|
34 |
| - description: 'github.head_ref; only on pull requests and is the source branch; https://docs.github.com/en/actions/learn-github-actions/contexts' |
| 37 | + description: "github.head_ref; only on pull requests and is the source branch; https://docs.github.com/en/actions/learn-github-actions/contexts" |
35 | 38 | required: false
|
36 | 39 | unity_cloud_build_allow_new_target:
|
37 |
| - description: 'Set this to false to disable creation of new build targets/configurations based on the primary target.' |
| 40 | + description: "Set this to false to disable creation of new build targets/configurations based on the primary target." |
38 | 41 | required: false
|
39 |
| - |
| 42 | + |
40 | 43 | runs:
|
41 |
| - using: 'docker' |
42 |
| - image: 'Dockerfile' |
| 44 | + using: "docker" |
| 45 | + image: "Dockerfile" |
43 | 46 | env:
|
44 | 47 | UNITY_CLOUD_BUILD_API_KEY: ${{ inputs.unity_cloud_build_api_key }}
|
45 | 48 | UNITY_CLOUD_BUILD_ORG_ID: ${{ inputs.unity_cloud_build_org_id }}
|
46 | 49 | UNITY_CLOUD_BUILD_PROJECT_ID: ${{ inputs.unity_cloud_build_project_id }}
|
47 | 50 | UNITY_CLOUD_BUILD_POLLING_INTERVAL: ${{ inputs.unity_cloud_build_polling_interval }}
|
48 | 51 | UNITY_CLOUD_BUILD_PRIMARY_TARGET: ${{ inputs.unity_cloud_build_primary_target }}
|
| 52 | + UNITY_CLOUD_BUILD_PROFILE_ENV: ${{ inputs.unity_cloud_build_profile_env }} |
49 | 53 | UNITY_CLOUD_BUILD_DOWNLOAD_BINARY: ${{ inputs.unity_cloud_build_download_binary }}
|
50 | 54 | UNITY_CLOUD_BUILD_CREATE_SHARE: ${{ inputs.unity_cloud_build_create_share }}
|
51 | 55 | UNITY_CLOUD_BUILD_USE_EXISTING_BUILD_NUMBER: ${{ inputs.unity_cloud_build_use_existing_build_number }}
|
|
0 commit comments