diff --git a/.github/workflows/sdl2.yml b/.github/workflows/sdl2.yml index 3e611de61f..ecbf7a3d26 100644 --- a/.github/workflows/sdl2.yml +++ b/.github/workflows/sdl2.yml @@ -148,7 +148,7 @@ jobs: - name: Build SDL2 if: runner.os != 'Linux' - run: ${{ matrix.env.nuke_invoke }} SDL2 ${{ runner.os == 'Windows' && format('{0} {1}', '--native --android-sdk-override', env.ANDROID_HOME) || '' }} + run: ${{ matrix.env.nuke_invoke }} SDL2 ${{ runner.os == 'Windows' && format('{0} {1}', '--native true --android-sdk-override', env.ANDROID_HOME) || '' }} env: PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }} diff --git a/build/nuke/Native/Core.cs b/build/nuke/Native/Core.cs index 052c2411a2..5286495702 100644 --- a/build/nuke/Native/Core.cs +++ b/build/nuke/Native/Core.cs @@ -68,7 +68,7 @@ public void PrUpdatedNativeBinary(string name) Git("fetch --all", RootDirectory); Git("pull"); - Git($"add -f src/Native/*/runtimes/*/native/* **/*.aar", RootDirectory); + Git($"add -f src/Native/*/runtimes/*/native/* **/*.aar **/*.java .nuke", RootDirectory); var newBranch = $"ci/{curBranch}/{name.ToLower().Replace(' ', '_')}_bins"; var curCommit = GitCurrentCommit(RootDirectory); var commitCmd = InheritedShell