Skip to content

Commit

Permalink
Add exit code docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr committed Nov 25, 2023
1 parent 0fc84ec commit 8e0d617
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/03-github/04-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,18 @@ Returns the version code that was generated by Builder for Android builds.
- run: echo 'Android Version Code: ${{ steps.myBuildStep.outputs.androidVersionCode }}'
```

#### exitCode

Returns the exit code from the build scripts. This code is 0 if the build was successful. If there
was an error during activation, the code is from the activation step. If activation is successful,
the code is from the project build step.

```yaml
- uses: game-ci/unity-builder@v4
id: myBuildStep
- run: echo 'Build Step Exit Code: ${{ steps.myBuildStep.outputs.exitCode }}'
```

## Private Github repositories

If you use private git repository in your packages/manifest.json, you need to create SSH pub/private
Expand Down

0 comments on commit 8e0d617

Please sign in to comment.