From a99985ab7bcb4ac08df1a756dc92fea659e40d91 Mon Sep 17 00:00:00 2001 From: Sebastien Lebreton Date: Tue, 16 Jun 2020 16:40:47 -0700 Subject: [PATCH] Bump Stubs and test infrastructure to Unity 2019.4 LTS (#90) --- .github/workflows/ci-macos.yml | 6 +++--- .github/workflows/ci-windows.yml | 6 +++--- src/Microsoft.Unity.Analyzers/UnityStubs.cs | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index ded82248..4c2f5769 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -27,12 +27,12 @@ jobs: id: cache-unity uses: actions/cache@v1 with: - key: ${{ runner.os }}-unitycache-2018.4.19f1 + key: ${{ runner.os }}-unitycache-2019.4.0f1 path: UnityCache - - name: Download Unity 2018.4.19f1 LTS + - name: Download Unity 2019.4.0f1 LTS if: steps.cache-unity.outputs.cache-hit != 'true' - run: curl -o ./unity.pkg -k https://download.unity3d.com/download_unity/459f70f82ea4/MacEditorInstaller/Unity.pkg + run: curl -o ./unity.pkg -k https://download.unity3d.com/download_unity/0af376155913/MacEditorInstaller/Unity.pkg - name: Install Unity if: steps.cache-unity.outputs.cache-hit != 'true' diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index a0c21ef8..e609826a 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -27,12 +27,12 @@ jobs: id: cache-unity uses: actions/cache@v1 with: - key: ${{ runner.os }}-unitycache-2018.4.19f1 + key: ${{ runner.os }}-unitycache-2019.4.0f1 path: UnityCache - - name: Download Unity 2018.4.19f1 LTS + - name: Download Unity 2019.4.0f1 LTS if: steps.cache-unity.outputs.cache-hit != 'true' - run: bitsadmin /TRANSFER unity /DOWNLOAD /PRIORITY foreground "https://download.unity3d.com/download_unity/459f70f82ea4/Windows64EditorInstaller/UnitySetup64-2018.4.19f1.exe" "%CD%\unitysetup.exe" + run: bitsadmin /TRANSFER unity /DOWNLOAD /PRIORITY foreground "https://download.unity3d.com/download_unity/0af376155913/Windows64EditorInstaller/UnitySetup64-2019.4.0f1.exe" "%CD%\unitysetup.exe" shell: cmd - name: Install Unity diff --git a/src/Microsoft.Unity.Analyzers/UnityStubs.cs b/src/Microsoft.Unity.Analyzers/UnityStubs.cs index c8f4ffc5..9bd1add4 100644 --- a/src/Microsoft.Unity.Analyzers/UnityStubs.cs +++ b/src/Microsoft.Unity.Analyzers/UnityStubs.cs @@ -180,6 +180,7 @@ void OnRectTransformRemoved() { } void OnCanvasGroupChanged() { } IEnumeratorOrVoid OnParticleTrigger() { return null; } void OnParticleSystemStopped() { } + void OnParticleUpdateJobScheduled() { } } class Animator