Skip to content

Commit

Permalink
downgrade android java env
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleychen committed Jan 2, 2025
1 parent e3b7713 commit 168240b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/android_debug_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/android_release_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
Expand All @@ -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
Expand Down

0 comments on commit 168240b

Please sign in to comment.