Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Latest commit

 

History

History
35 lines (26 loc) · 1.04 KB

File metadata and controls

35 lines (26 loc) · 1.04 KB

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