github: Update actions so they don't use deprecated Node.js 20
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
# since the NDK might be newly installed, we have to use this to avoid cache misses
|
||||
CCACHE_COMPILERCHECK: content
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
# make sure the NDK we reference is installed and exported so we can use it to build OpenSSL
|
||||
- name: Install NDK
|
||||
id: ndk-install
|
||||
@@ -42,14 +42,14 @@ jobs:
|
||||
echo Using NDK ${NDK_VERSION}
|
||||
yes | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VERSION}"
|
||||
echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/${NDK_VERSION}" >> "$GITHUB_OUTPUT"
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v5
|
||||
with:
|
||||
path: ~/.cache/ccache
|
||||
key: ccache-android-${{ github.sha }}
|
||||
restore-keys: |
|
||||
ccache-android-
|
||||
# necessary for newer versions of the Gradle plugin
|
||||
- uses: actions/setup-java@v4
|
||||
- uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
env:
|
||||
ANDROID_NDK_ROOT: ${{ steps.ndk-install.outputs.ANDROID_NDK_ROOT }}
|
||||
- run: ccache -s
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: Lint Results
|
||||
path: src/frontends/android/app/build/reports/lint-results*.xml
|
||||
|
||||
Reference in New Issue
Block a user