GitHub Action that returns unity version in specific folder.
Path to Unity project. Used to find Unity version. Default ${{ github.workspace }}.
Unity version. Also setted env UNITY_VERSION
Unity version changeset. Also setted env UNITY_VERSION_CHANGESET
- name: Checkout projectuses: actions/checkout@v4
- name: Get Unity versionid: unity-versionuses: appegy/unity-version-action@v1
- name: Prepare build matrixrun: | 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 }}"