mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
ba71af746b
2
.github/workflows/format-check.yml
vendored
2
.github/workflows/format-check.yml
vendored
@ -2,6 +2,7 @@ name: Check format
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -52,6 +53,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export CLANGFORMAT=`pwd`/clang/bin/clang-format
|
export CLANGFORMAT=`pwd`/clang/bin/clang-format
|
||||||
export PATH="$PATH:/root/.dotnet/tools"
|
export PATH="$PATH:/root/.dotnet/tools"
|
||||||
|
dotnet-format --version
|
||||||
./formatters/format.sh
|
./formatters/format.sh
|
||||||
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
|
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
|
||||||
git diff
|
git diff
|
||||||
|
|||||||
2
.github/workflows/spine-godot.yml
vendored
2
.github/workflows/spine-godot.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
|||||||
path: spine-godot/godot/bin/godot.windows.opt.tools.64.exe
|
path: spine-godot/godot/bin/godot.windows.opt.tools.64.exe
|
||||||
|
|
||||||
godot-editor-linux:
|
godot-editor-linux:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -183,7 +183,7 @@ namespace Spine.Unity {
|
|||||||
texture = AccessPackedTextureEditor(spriteAtlas);
|
texture = AccessPackedTextureEditor(spriteAtlas);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
texture = AccessPackedTexture(sprites);
|
texture = AccessPackedTexture(sprites);
|
||||||
|
|
||||||
Material material = materials[0];
|
Material material = materials[0];
|
||||||
#if !UNITY_EDITOR
|
#if !UNITY_EDITOR
|
||||||
|
|||||||
@ -204,7 +204,7 @@ namespace Spine.Unity {
|
|||||||
DestroyImmediate(collider);
|
DestroyImmediate(collider);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
Destroy(collider);
|
Destroy(collider);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -208,7 +208,7 @@ namespace Spine.Unity {
|
|||||||
DestroyImmediate(collider);
|
DestroyImmediate(collider);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
Destroy(collider);
|
Destroy(collider);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user