Browse Source

[godot] Copy extensions file to bin/ in GH workflow

Mario Zechner 8 months ago
parent
commit
09a84f191e
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/spine-godot-extension-v4.yml

+ 3 - 2
.github/workflows/spine-godot-extension-v4.yml

@@ -242,12 +242,13 @@ jobs:
           echo "branch: $BRANCH"
           echo "branch: $BRANCH"
 
 
           cd artifacts
           cd artifacts
-          # Ensure gdextension file is in root
-          cp ../spine-godot/spine_godot_extension.gdextension ./
 
 
           # Create directories matching the expected structure
           # Create directories matching the expected structure
           mkdir -p bin/{windows,linux,macos/macos.framework,ios,android,web}
           mkdir -p bin/{windows,linux,macos/macos.framework,ios,android,web}
 
 
+          # Ensure gdextension file is in root
+          cp ../spine-godot/spine_godot_extension.gdextension bin/
+
           # Move artifacts to their correct locations
           # Move artifacts to their correct locations
           mv gdextension-windows-$GODOT_TAG/* bin/windows/
           mv gdextension-windows-$GODOT_TAG/* bin/windows/
           mv gdextension-linux-x86_64-$GODOT_TAG/* bin/linux/
           mv gdextension-linux-x86_64-$GODOT_TAG/* bin/linux/