Skip to content

Workflow file for this run

name: validate
on:
schedule:
- cron: '0 0 * * 0' # Run every Sunday at midnight
push:
branches:
- 'main'
pull_request:
branches:
- '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
env:
UNITY_EDITORS: '' # set by the unity-setup action
UNITY_HUB_PATH: '' # set by the unity-setup action
UNITY_EDITOR_PATH: '' # set by the unity-setup action
UNITY_PROJECT_PATH: '' # set by the unity-setup action
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest, macos-13 ]
unity-versions:
- 'in version file'
- 2019.4.40f1 (ffc62b691db5)
- 2020.3.48f1 (b805b124c6b7)
- 2021.3.41f1 (6c5a9e20c022)
- 2022.3.40f1 (cbdda657d2f0)
- 6000.0.13f1 (53a692e3fca9)
include:
- os: ubuntu-latest
build-targets: StandaloneLinux64
- os: windows-latest
build-targets: StandaloneWindows64
- os: macos-13
build-targets: StandaloneOSX
- os: macos-latest
build-targets: StandaloneOSX
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: RageAgainstThePixel/com.utilities.buildpipeine
path: com.utilities.buildpipline
- uses: buildalon/unity-setup@v1
with:
unity-version: ${{ matrix.unity-versions }}
build-targets: ${{ matrix.build-targets }}
- uses: ./ # buildalon/action-activate-unity-license
with:
license: Personal
username: ${{ secrets.UNITY_USERNAME }}
password: ${{ secrets.UNITY_PASSWORD }}