diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 776093b..5c22c62 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: run: rustup show - name: Build - run: ./gradlew cargoBuild assembleRelease + run: ./gradlew assembleRelease - name: Create release uses: softprops/action-gh-release@v1 diff --git a/artiwrapper/build.gradle b/artiwrapper/build.gradle index a62443a..a9dca4e 100644 --- a/artiwrapper/build.gradle +++ b/artiwrapper/build.gradle @@ -54,7 +54,7 @@ dependencies { } tasks.whenTaskAdded { task -> - if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) { + if (task.name == 'mergeReleaseJniLibFolders') { task.dependsOn 'cargoBuild' } -} \ No newline at end of file +}