Skip to content

Get Unity Version

Actions
Returns Unity project version based on project path
v1
Latest
Star (3)

unity-version

GitHub Action that returns unity version in specific folder.

Inputs

project-path

Path to Unity project. Used to find Unity version. Default ${{ github.workspace }}.

Outpust

unity-version

Unity version. Also setted env UNITY_VERSION

unity-version-changeset

Unity version changeset. Also setted env UNITY_VERSION_CHANGESET

Example usage

- name: Checkout project
  uses: actions/checkout@v2

- name: Get Unity version
  id: unity-version
  uses: appegy/unity-version-action@v1   

- name: Prepare build matrix
  run: |
    echo "[Env] Version = $UNITY_VERSION"
    echo "[Env] Changeset = $UNITY_VERSION_CHANGESET"
    echo "[Env] Version = ${{ steps.unity-version.outputs.unity-version }}"
    echo "[Env] Changeset = ${{ steps.unity-version.outputs.unity-version-changeset }}"

Get Unity Version is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Returns Unity project version based on project path
v1
Latest

Get Unity Version is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.