Skip to content

Commit

Permalink
Bump Stubs and test infrastructure to Unity 2019.4 LTS (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
sailro authored Jun 16, 2020
1 parent 7b5de82 commit a99985a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Unity.Analyzers/UnityStubs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ void OnRectTransformRemoved() { }
void OnCanvasGroupChanged() { }
IEnumeratorOrVoid OnParticleTrigger() { return null; }
void OnParticleSystemStopped() { }
void OnParticleUpdateJobScheduled() { }
}

class Animator
Expand Down

0 comments on commit a99985a

Please sign in to comment.