mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 00:58:43 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
ba71af746b
6
.github/workflows/format-check.yml
vendored
6
.github/workflows/format-check.yml
vendored
@ -1,7 +1,8 @@
|
||||
name: Check format
|
||||
|
||||
on:
|
||||
push:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -51,7 +52,8 @@ jobs:
|
||||
- name: Format
|
||||
run: |
|
||||
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
|
||||
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
|
||||
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
|
||||
|
||||
godot-editor-linux:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
||||
@ -183,7 +183,7 @@ namespace Spine.Unity {
|
||||
texture = AccessPackedTextureEditor(spriteAtlas);
|
||||
else
|
||||
#endif
|
||||
texture = AccessPackedTexture(sprites);
|
||||
texture = AccessPackedTexture(sprites);
|
||||
|
||||
Material material = materials[0];
|
||||
#if !UNITY_EDITOR
|
||||
|
||||
@ -204,7 +204,7 @@ namespace Spine.Unity {
|
||||
DestroyImmediate(collider);
|
||||
else
|
||||
#endif
|
||||
Destroy(collider);
|
||||
Destroy(collider);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -208,7 +208,7 @@ namespace Spine.Unity {
|
||||
DestroyImmediate(collider);
|
||||
else
|
||||
#endif
|
||||
Destroy(collider);
|
||||
Destroy(collider);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user