Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
/ unity-validate Public archive

GitHub action to validate the editor installation and project

License

Notifications You must be signed in to change notification settings

XRTK/unity-validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity Validate (XRTK) Replaced by xrtk/unity-setup@v1

This action has been replaced by https://github.com/XRTK/unity-setup

An atomic GitHub action to validate the Unity Editor Installation on the runner and get the project information.

Part of the Mixed Reality Toolkit (XRTK) open source project.

This action does not have any dependency on the use of XRTK in your Unity project.

How to use

jobs:
  validate:
  strategy:
      fail-fast: false
      matrix:
        runner: [ubuntu-latest, windows-latest, macos-latest]
    runs-on: ${{ matrix.runner }}

    outputs:
      editor-path: ${{ steps.unity-validate.outputs.editor-path }}
      project-path: ${{ steps.unity-validate.outputs.project-path }}
    steps:
      - uses: actions/checkout@v3

      - id: unity-validate
        uses: xrtk/unity-validate@main
          with:
            modules: 'android ios'

        run: echo ${{ steps.unity-validate.outputs.editor-path }}
        run: echo ${{ steps.unity-validate.outputs.project-path }}