Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add androidVersionCode output docs #349

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/03-github/04-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,16 @@ Returns the version that was generated by Builder, following the strategy config
- run: echo 'Project Version: ${{ steps.myBuildStep.outputs.buildVersion }}'
```

#### androidVersionCode

Returns the version code that was generated by Builder for Android builds.

```yaml
- uses: game-ci/unity-builder@v2
id: myBuildStep
- run: echo 'Android Version Code: ${{ steps.myBuildStep.outputs.androidVersionCode }}'
```

## Private Github repositories

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