diff --git a/.github/workflows/android_debug_push.yml b/.github/workflows/android_debug_push.yml index cd337dd0..8d7faa2a 100644 --- a/.github/workflows/android_debug_push.yml +++ b/.github/workflows/android_debug_push.yml @@ -18,7 +18,7 @@ jobs: build: runs-on: macos-14 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Download r10e NDK @@ -27,6 +27,11 @@ jobs: unzip android-ndk-r10e-darwin-x86_64.zip - name: Update SDK Version run: bash .github/script/updateVersionForSnapshot.sh + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' # See 'Supported distributions' for available options + java-version: '8' + - run: java HelloWorldApp.java - name: Build with Gradle run: | ls -l /Users/runner/work/iot-ijkplayer/iot-ijkplayer/android-ndk-r10e diff --git a/.github/workflows/android_release_push.yml b/.github/workflows/android_release_push.yml index 7ad47ad8..ee2a44ad 100644 --- a/.github/workflows/android_release_push.yml +++ b/.github/workflows/android_release_push.yml @@ -15,7 +15,7 @@ jobs: build: runs-on: macos-14 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - run: | @@ -31,6 +31,11 @@ jobs: rc=$(git rev-parse --short HEAD) cd android/ijkplayer sed -i "" 's#def version.*#def version = \"'$rt'\"#g' config.gradle + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' # See 'Supported distributions' for available options + java-version: '8' + - run: java HelloWorldApp.java - name: Update Values of Signing run: | export KEY_ID_OF_SIGN=$IOT_GPG_KEYNAME