diff --git a/.github/workflows/build-kernel-a12.yml b/.github/workflows/build-kernel-a12.yml index 3366408405cc..ca2d9b7e70f4 100644 --- a/.github/workflows/build-kernel-a12.yml +++ b/.github/workflows/build-kernel-a12.yml @@ -66,7 +66,7 @@ jobs: RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - uses: actions/checkout@v4 with: @@ -118,7 +118,7 @@ jobs: run: ls -R - name: Upload images artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: boot-images-android12 path: Image-android12*/*.img.gz diff --git a/.github/workflows/build-kernel-a13.yml b/.github/workflows/build-kernel-a13.yml index 65ceea252376..18984cc7212e 100644 --- a/.github/workflows/build-kernel-a13.yml +++ b/.github/workflows/build-kernel-a13.yml @@ -93,7 +93,7 @@ jobs: RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - uses: actions/checkout@v4 with: @@ -140,12 +140,12 @@ jobs: echo "VERSION: $VERSION" cd - bash $GITHUB_WORKSPACE/KernelSU/.github/scripts/build_a13.sh - + - name: Display structure of boot files run: ls -R - name: Upload images artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: boot-images-android13 path: Image-android13*/*.img.gz diff --git a/.github/workflows/build-kernel-a14.yml b/.github/workflows/build-kernel-a14.yml index e0627eb7f885..0a650efc4056 100644 --- a/.github/workflows/build-kernel-a14.yml +++ b/.github/workflows/build-kernel-a14.yml @@ -57,7 +57,7 @@ jobs: RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - uses: actions/checkout@v4 with: @@ -104,12 +104,12 @@ jobs: echo "VERSION: $VERSION" cd - bash $GITHUB_WORKSPACE/KernelSU/.github/scripts/build_a13.sh - + - name: Display structure of boot files run: ls -R - name: Upload images artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: boot-images-android14 path: Image-android14*/*.img.gz diff --git a/.github/workflows/build-kernel-arcvm.yml b/.github/workflows/build-kernel-arcvm.yml index 567d533c164d..4c79c0aec358 100644 --- a/.github/workflows/build-kernel-arcvm.yml +++ b/.github/workflows/build-kernel-arcvm.yml @@ -110,7 +110,7 @@ jobs: echo "file_path=${PWD}/arch/x86/boot/bzImage" >> $GITHUB_ENV - name: Upload kernel-ARCVM-${{ matrix.arch }}-${{ matrix.version }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kernel-ARCVM-${{ matrix.arch }}-${{ matrix.version }} path: "${{ env.file_path }}" diff --git a/.github/workflows/build-kernel-wsa.yml b/.github/workflows/build-kernel-wsa.yml index cdd43bc2d81f..c8a7f94d726a 100644 --- a/.github/workflows/build-kernel-wsa.yml +++ b/.github/workflows/build-kernel-wsa.yml @@ -104,7 +104,7 @@ jobs: echo "file_path=WSA-Linux-Kernel/arch/${ARCH_MAP_FILE[${{ matrix.arch }}]}/boot/${FILE_NAME[${{ matrix.arch }}]}" >> $GITHUB_ENV - name: Upload kernel-${{ matrix.arch }}-${{ matrix.version }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kernel-WSA-${{ matrix.arch }}-${{ matrix.version }} path: "${{ env.file_path }}" diff --git a/.github/workflows/build-manager.yml b/.github/workflows/build-manager.yml index 67ddb34af536..68dd01462292 100644 --- a/.github/workflows/build-manager.yml +++ b/.github/workflows/build-manager.yml @@ -58,7 +58,7 @@ jobs: fi - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "17" @@ -69,13 +69,13 @@ jobs: gradle-home-cache-cleanup: true - name: Download arm64 ksud - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ksud-aarch64-linux-android path: . - name: Download x86_64 ksud - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ksud-x86_64-linux-android path: . @@ -89,15 +89,17 @@ jobs: - name: Build with Gradle run: | - echo 'org.gradle.parallel=true' >> gradle.properties - echo 'org.gradle.vfs.watch=true' >> gradle.properties - echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties - echo 'android.native.buildOutput=verbose' >> gradle.properties + { + echo 'org.gradle.parallel=true' + echo 'org.gradle.vfs.watch=true' + echo 'org.gradle.jvmargs=-Xmx2048m' + echo 'android.native.buildOutput=verbose' + } >> gradle.properties sed -i 's/org.gradle.configuration-cache=true//g' gradle.properties ./gradlew clean assembleRelease - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: manager path: manager/app/build/outputs/apk/release/*.apk diff --git a/.github/workflows/build-su.yml b/.github/workflows/build-su.yml index 4c92611170dc..76f7e900bfe8 100644 --- a/.github/workflows/build-su.yml +++ b/.github/workflows/build-su.yml @@ -33,7 +33,7 @@ jobs: working-directory: ./userspace/su run: ndk-build - name: Upload a Build Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: su path: ./userspace/su/libs diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 7537b5f78871..2ac07cf0ef11 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -35,13 +35,13 @@ jobs: with: fetch-depth: 0 # Not needed if lastUpdated is not enabled - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: yarn # or pnpm / yarn cache-dependency-path: website/yarn.lock - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 - name: Install dependencies run: yarn install --frozen-lockfile - name: Build with VitePress @@ -49,7 +49,7 @@ jobs: yarn docs:build touch docs/.vitepress/dist/.nojekyll - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: website/docs/.vitepress/dist @@ -64,4 +64,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/gki-kernel.yml b/.github/workflows/gki-kernel.yml index bc277755b789..d1d73391718c 100644 --- a/.github/workflows/gki-kernel.yml +++ b/.github/workflows/gki-kernel.yml @@ -172,10 +172,10 @@ jobs: fi if [ -e build/build.sh ]; then CCACHE="/usr/bin/ccache" LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh - else + else tools/bazel run --disk_cache=/home/runner/.cache/bazel --config=fast --config=stamp --lto=thin //common:kernel_aarch64_dist -- --dist_dir=dist fi - + - name: Prepare artifacts id: prepareArtifacts run: | @@ -191,13 +191,13 @@ jobs: cp $OUTDIR/Image ./AnyKernel3/ - name: Upload Image and Image.gz - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Image-${{ inputs.version_name }}_${{ inputs.os_patch_level }} path: ./output/* - name: Upload AnyKernel3 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: AnyKernel3-${{ inputs.version_name }}_${{ inputs.os_patch_level }} path: ./AnyKernel3/* diff --git a/.github/workflows/ksud.yml b/.github/workflows/ksud.yml index 4b6440ae0ee8..541006173779 100644 --- a/.github/workflows/ksud.yml +++ b/.github/workflows/ksud.yml @@ -30,7 +30,7 @@ jobs: run: cross build --target ${{ inputs.target }} --release --manifest-path ./userspace/ksud/Cargo.toml - name: Upload ksud artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ksud-${{ inputs.target }} path: userspace/ksud/target/**/release/ksud diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 337cb6f862c3..a4c156f325cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Zip AnyKernel3 run: | for dir in AnyKernel3-*; do