Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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 }}.

Outputs

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 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 }}"

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages