File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -443,29 +443,31 @@ jobs:
443443 name : Deploy Java Snapshot
444444 runs-on : ubuntu-latest
445445 if : github.event_name == 'push' && github.ref_name == 'master'
446+ permissions :
447+ contents : read
446448 steps :
447449
448450 # We need to clone everything again for uploadToMaven.sh ...
449451 - name : Clone the repo
450- uses : actions/checkout@v6
452+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
451453 with :
452454 fetch-depth : 1
453455
454456 # Setup jdk 21 used for building Maven-style artifacts
455457 - name : Setup the java environment
456- uses : actions/setup-java@v5
458+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
457459 with :
458460 distribution : ' temurin'
459461 java-version : ' 21'
460462
461463 - name : Download natives for android
462- uses : actions/download-artifact@v8.0.1
464+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
463465 with :
464466 name : android-natives
465467 path : build/native
466468
467469 - name : Download natives for iOS
468- uses : actions/download-artifact@v8.0.1
470+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
469471 with :
470472 name : ios-natives
471473 path : jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
Original file line number Diff line number Diff line change @@ -303,10 +303,8 @@ if (skipPrebuildLibraries != "true" && buildNativeProjects != "true") {
303303 }) {
304304 eachFile { details ->
305305 def segments = details. relativePath. segments
306- if (segments. length <= 1 ) {
307- details. exclude()
308- } else {
309- details. relativePath = new RelativePath (details. isDirectory(), segments[1 .. -1 ] as String [])
306+ if (segments. length > 1 ) {
307+ details. path = segments[1 .. -1 ]. join(' /' )
310308 }
311309 }
312310 includeEmptyDirs = false
You can’t perform that action at this time.
0 commit comments