File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,22 @@ jobs:
2525 distribution : ' temurin'
2626 java-version : ' 17'
2727
28+ - name : Setup NDK
29+ uses : nttld/setup-ndk@v1
30+ id : setup-ndk
31+ with :
32+ ndk-version : r28c
33+ add-to-path : false
34+
2835 - name : Grant execute permission for gradlew
2936 run : chmod +x gradlew
3037
3138 - name : Build project
3239 run : |
3340 export ANDROID_SDK=$ANDROID_HOME
3441 ./gradlew -i nativeBuild
42+ env :
43+ ANDROID_NDK : ${{ steps.setup-ndk.outputs.ndk-path }}
3544
3645 - name : Deploy Snapshot
3746 if : github.ref == 'refs/heads/master'
4150 env :
4251 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
4352 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
53+ ANDROID_NDK : ${{ steps.setup-ndk.outputs.ndk-path }}
Original file line number Diff line number Diff line change 2121 distribution : ' temurin'
2222 java-version : ' 17'
2323
24+ - name : Setup NDK
25+ uses : nttld/setup-ndk@v1
26+ id : setup-ndk
27+ with :
28+ ndk-version : r28c
29+ add-to-path : false
30+
2431 - name : Grant execute permission for gradlew
2532 run : chmod +x gradlew
2633
4552 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
4653 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
4754 GPG_KEYNAME : ${{ secrets.GPG_KEYNAME }}
55+ ANDROID_NDK : ${{ steps.setup-ndk.outputs.ndk-path }}
4856
4957 - name : Release Javadocs to S3
5058 if : steps.deploy.outputs.exit_code == 0
You can’t perform that action at this time.
0 commit comments