mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Update Unity version in Reactor.Assets
<!-- ps-id: 7978e8c1-da06-45f4-9d7d-6f1591074889 -->
This commit is contained in:
7 files changed
+29
-28
No files matched your search
@@ -9,14 +9,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/Unity/Hub/Editor
|
~/Unity/Hub/Editor
|
||||||
~/.config/unityhub
|
~/.config/unityhub
|
||||||
key: unity-2020.3.22f1
|
~/.local/share/unity3d/Unity/Unity_lic.ulf
|
||||||
|
key: unity-${{ hashFiles('./Reactor.Assets/ProjectSettings/ProjectVersion.txt') }}
|
||||||
|
|
||||||
- name: Setup Unity
|
- name: Setup Unity
|
||||||
uses: js6pak/setup-unity@master
|
uses: js6pak/setup-unity@master
|
||||||
@@ -25,17 +26,17 @@ jobs:
|
|||||||
unity-modules: windows-mono android
|
unity-modules: windows-mono android
|
||||||
|
|
||||||
- name: Activate Unity
|
- name: Activate Unity
|
||||||
uses: js6pak/activate-unity@master
|
env:
|
||||||
with:
|
UNITY_USERNAME: ${{ secrets.UNITY_USERNAME }}
|
||||||
unity-username: ${{ secrets.UNITY_USERNAME }}
|
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||||
unity-password: ${{ secrets.UNITY_PASSWORD }}
|
run: |
|
||||||
unity-authenticator-key: ${{ secrets.UNITY_AUTHENTICATOR_KEY }}
|
/opt/unityhub/UnityLicensingClient_V1/Unity.Licensing.Client --activate-ulf --username "$UNITY_USERNAME" --password "$UNITY_PASSWORD"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ./Reactor.Assets
|
working-directory: ./Reactor.Assets
|
||||||
run: bash ./build.sh
|
run: bash ./build.sh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bundles
|
name: bundles
|
||||||
path: ./Reactor/Assets/*.bundle
|
path: ./Reactor/Assets/*.bundle
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.2d.sprite": "1.0.0",
|
"com.unity.2d.sprite": "1.0.0",
|
||||||
"com.unity.ide.rider": "2.0.7",
|
"com.unity.ide.rider": "3.0.31",
|
||||||
"com.unity.ide.visualstudio": "2.0.16",
|
"com.unity.ide.visualstudio": "2.0.22",
|
||||||
"com.unity.ide.vscode": "1.2.5",
|
"com.unity.ide.vscode": "1.2.5",
|
||||||
"com.unity.toolchain.linux-x86_64": "2.0.2",
|
"com.unity.toolchain.linux-x86_64": "2.0.9",
|
||||||
"com.unity.modules.ai": "1.0.0",
|
"com.unity.modules.ai": "1.0.0",
|
||||||
"com.unity.modules.androidjni": "1.0.0",
|
"com.unity.modules.androidjni": "1.0.0",
|
||||||
"com.unity.modules.animation": "1.0.0",
|
"com.unity.modules.animation": "1.0.0",
|
||||||
|
|||||||
@@ -8,22 +8,22 @@
|
|||||||
},
|
},
|
||||||
"com.unity.ext.nunit": {
|
"com.unity.ext.nunit": {
|
||||||
"version": "1.0.6",
|
"version": "1.0.6",
|
||||||
"depth": 2,
|
"depth": 1,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.ide.rider": {
|
"com.unity.ide.rider": {
|
||||||
"version": "2.0.7",
|
"version": "3.0.31",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.test-framework": "1.1.1"
|
"com.unity.ext.nunit": "1.0.6"
|
||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.ide.visualstudio": {
|
"com.unity.ide.visualstudio": {
|
||||||
"version": "2.0.16",
|
"version": "2.0.22",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -39,23 +39,23 @@
|
|||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.sysroot": {
|
"com.unity.sysroot": {
|
||||||
"version": "2.0.3",
|
"version": "2.0.10",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.sysroot.linux-x86_64": {
|
"com.unity.sysroot.linux-x86_64": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.9",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.sysroot": "2.0.3"
|
"com.unity.sysroot": "2.0.10"
|
||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.test-framework": {
|
"com.unity.test-framework": {
|
||||||
"version": "1.1.29",
|
"version": "1.1.33",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -66,12 +66,12 @@
|
|||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.toolchain.linux-x86_64": {
|
"com.unity.toolchain.linux-x86_64": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.9",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.sysroot": "2.0.3",
|
"com.unity.sysroot": "2.0.10",
|
||||||
"com.unity.sysroot.linux-x86_64": "2.0.2"
|
"com.unity.sysroot.linux-x86_64": "2.0.9"
|
||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
m_EditorVersion: 2020.3.22f1
|
m_EditorVersion: 2020.3.45f1
|
||||||
m_EditorVersionWithRevision: 2020.3.22f1 (e1a7f79fd887)
|
m_EditorVersionWithRevision: 2020.3.45f1 (660cd1701bd5)
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
UNITY_VERSION=2020.3.22f1
|
UNITY_VERSION=2020.3.45f1
|
||||||
|
|
||||||
if [[ ! -v UNITY_PATH ]]; then
|
if [[ ! -v UNITY_PATH ]]; then
|
||||||
if command -v unityhub &>/dev/null; then
|
if command -v unityhub &>/dev/null; then
|
||||||
echo "Trying to get unity path from unityhub..."
|
echo "Trying to get unity path from unityhub..."
|
||||||
|
|
||||||
UNITYHUB_INSTALL_PATH=$(unityhub --headless install-path)
|
UNITYHUB_INSTALL_PATH=$(unityhub -- --headless install-path)
|
||||||
UNITY_PATH="$UNITYHUB_INSTALL_PATH/$UNITY_VERSION/Editor/Unity"
|
UNITY_PATH="$UNITYHUB_INSTALL_PATH/$UNITY_VERSION/Editor/Unity"
|
||||||
|
|
||||||
if [[ ! -f $UNITY_PATH ]]; then
|
if [[ ! -f $UNITY_PATH ]]; then
|
||||||
@@ -22,4 +22,4 @@ fi
|
|||||||
echo "UNITY_PATH = $UNITY_PATH"
|
echo "UNITY_PATH = $UNITY_PATH"
|
||||||
|
|
||||||
rm Library -rf # TODO figure out why having Library cached makes invalid bundles in batchmode
|
rm Library -rf # TODO figure out why having Library cached makes invalid bundles in batchmode
|
||||||
$UNITY_PATH -batchmode -nographics -quit -logFile "-" -projectPath $pwd -executeMethod Build.BuildAssetBundles
|
"$UNITY_PATH" -batchmode -nographics -quit -logFile "-" -projectPath "$PWD" -executeMethod Build.BuildAssetBundles
|
||||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user