-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update unity version to 2021.3.36f1
build: update unity version to 2021.3.36f1
- Loading branch information
Showing
5 changed files
with
33 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,8 +53,8 @@ on: | |
env: | ||
platform: "Windows" | ||
|
||
unityVersion: "2021.3.21f1" | ||
unityVersionHash: "1b156197d683" | ||
unityVersion: "2021.3.36f1" | ||
unityVersionHash: "7a0645017be0" | ||
blenderMajorVersion: "3.5" | ||
blenderVersion: "3.5.1" | ||
|
||
|
@@ -75,15 +75,14 @@ jobs: | |
timeout-minutes: 90 | ||
|
||
steps: | ||
|
||
############################# | ||
# Install Unity # | ||
############################# | ||
|
||
- name: "[Install] Get Unity Editor + Windows IL2CPP builder (${{ env.unityVersion }}) pre-installed from cache" | ||
id: unity-install | ||
uses: actions/[email protected] | ||
with: | ||
with: | ||
path: ${{ runner.temp }}/Unity | ||
key: Windows_Unity-${{ env.unityVersion }} | ||
|
||
|
@@ -103,7 +102,6 @@ jobs: | |
Start-Process "${{ runner.temp }}\UnityInstall\UnitySetup-Windows-IL2CPP-Support-for-Editor-${{ env.unityVersion }}.exe" -ArgumentList $UNITY_INSTALLARGUMENTS -wait -nonewwindow; | ||
Remove-Item -Recurse -Force -Path ${{ runner.temp }}\UnityInstall\*; | ||
############################# | ||
# Checkout # | ||
############################# | ||
|
@@ -132,7 +130,6 @@ jobs: | |
repository: ${{ github.repository }} | ||
path: bleedingedge | ||
|
||
|
||
############################# | ||
# Cache # | ||
############################# | ||
|
@@ -143,7 +140,6 @@ jobs: | |
path: Library | ||
key: ${{ env.platform }}-YARG_Library | ||
|
||
|
||
############################# | ||
# Add Nightly definition # | ||
############################# | ||
|
@@ -161,7 +157,7 @@ jobs: | |
- name: "[Pre-install] Get Blender (${{ env.blenderVersion }}) from cache" | ||
id: blender | ||
uses: actions/cache@v3 | ||
with: | ||
with: | ||
path: ${{ runner.temp }}/BlenderInstall | ||
key: Windows_Blender-${{ env.blenderVersion }} | ||
restore-keys: Windows_Blender- | ||
|
@@ -177,20 +173,18 @@ jobs: | |
$BLENDERARGS = "/I $BLENDERMSI ALLUSERS=1 /qn /norestart"; | ||
Start-Process "msiexec.exe" -ArgumentList $BLENDERARGS -wait -nonewwindow | ||
############################# | ||
# Restore Packages # | ||
############################# | ||
|
||
- name: "[Pre-install] Install dotnet 8.x" | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
dotnet-version: "8.0.x" | ||
|
||
- name: "[Pre-install] Restoring NuGet Packages" | ||
run: dotnet tool install --global NuGetForUnity.Cli && nugetforunity restore | ||
|
||
|
||
############################# | ||
# Build YARG.Core # | ||
############################# | ||
|
@@ -200,7 +194,6 @@ jobs: | |
mkdir Assets/Plugins/YARG.Core; | ||
dotnet build YARG.Core/YARG.Core/YARG.Core.csproj /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary --output Assets/Plugins/YARG.Core; | ||
############################# | ||
# Replace icon # | ||
############################# | ||
|
@@ -215,7 +208,6 @@ jobs: | |
shell: bash | ||
run: "cp -f bleedingedge/static/Icon_Nightly.png Assets/Art/UI/Icon_Stable.png" | ||
|
||
|
||
############################# | ||
# Build # | ||
############################# | ||
|
@@ -230,7 +222,6 @@ jobs: | |
continue-on-error: true | ||
run: ${{ runner.temp }}/Unity/Editor/Unity.exe -quit -batchmode -nographics -returnlicense -projectPath ${{ github.workspace }} -username ${{ secrets.WINDOWS_UNITY_EMAIL || secrets.UNITY_EMAIL }} -password ${{ secrets.WINDOWS_UNITY_PASSWORD || secrets.UNITY_PASSWORD }} -logfile | Out-Host; | ||
|
||
|
||
############################# | ||
# Compress # | ||
############################# | ||
|
@@ -240,7 +231,6 @@ jobs: | |
mkdir Release; | ||
Compress-Archive -Path ${{ github.workspace }}/build/* -DestinationPath ${{ github.workspace }}/Release/YARG_${{ env.versionName }}-Windows-x64.zip; | ||
############################# | ||
# Upload # | ||
############################# | ||
|
@@ -251,5 +241,5 @@ jobs: | |
name: YARG (${{ env.versionName }}) - ${{ env.platform }} | ||
path: Release/* | ||
|
||
outputs: | ||
artifactId: ${{ steps.artifacts.outputs.artifact-id }} | ||
outputs: | ||
artifactId: ${{ steps.artifacts.outputs.artifact-id }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
name: 📦 Cache Unity 2021.3.21f1 for Windows | ||
name: 📦 Cache Unity for Windows | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
unityVersion: "2021.3.21f1" | ||
unityVersionHash: "1b156197d683" | ||
unityVersion: "2021.3.36f1" | ||
unityVersionHash: "7a0645017be0" | ||
|
||
run-name: 📦 Cache Unity ${{ env.unityVersion }} for Windows | ||
|
||
jobs: | ||
cacheUnity: | ||
name: Cache Unity 2021.3.21f1 for Windows | ||
name: Cache Unity ${{ env.unityVersion }} for Windows | ||
runs-on: windows-2019 | ||
timeout-minutes: 90 | ||
|
||
steps: | ||
- name: "Get Unity Editor + Windows IL2CPP builder (${{ env.unityVersion }}) pre-installed from cache" | ||
id: unity-install | ||
uses: actions/[email protected] | ||
with: | ||
with: | ||
path: ${{ runner.temp }}/Unity | ||
key: Windows_Unity-${{ env.unityVersion }} | ||
|
||
|
@@ -35,4 +37,4 @@ jobs: | |
$UNITY_INSTALLARGUMENTS = "/S /D=${{ runner.temp }}\\Unity"; | ||
Start-Process "${{ runner.temp }}\UnityInstall\UnitySetup64-${{ env.unityVersion }}.exe" -ArgumentList $UNITY_INSTALLARGUMENTS -wait -nonewwindow; | ||
Start-Process "${{ runner.temp }}\UnityInstall\UnitySetup-Windows-IL2CPP-Support-for-Editor-${{ env.unityVersion }}.exe" -ArgumentList $UNITY_INSTALLARGUMENTS -wait -nonewwindow; | ||
Remove-Item -Recurse -Force -Path ${{ runner.temp }}\UnityInstall\*; | ||
Remove-Item -Recurse -Force -Path ${{ runner.temp }}\UnityInstall\*; |
Oops, something went wrong.