Update Workflows and Dependencies (#1512)

Corrections would be very welcome.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
This commit is contained in:
Caner Karaca
2024-03-24 10:40:10 +03:00
committed by GitHub
parent 96242df228
commit 5167dc7352
11 changed files with 13 additions and 13 deletions

View File

@@ -71,7 +71,7 @@ jobs:
git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools
git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools
git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1 git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1
pip3 install telethon==1.31.1 pip3 install telethon==1.34.0
- name: Set boot sign key - name: Set boot sign key
env: env:

View File

@@ -106,7 +106,7 @@ jobs:
git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools
git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools
git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1 git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1
pip3 install telethon==1.31.1 pip3 install telethon==1.34.0
- name: Set boot sign key - name: Set boot sign key
env: env:

View File

@@ -85,7 +85,7 @@ jobs:
git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools
git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools
git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1 git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1
pip3 install telethon==1.31.1 pip3 install telethon==1.34.0
- name: Set boot sign key - name: Set boot sign key
env: env:

View File

@@ -19,7 +19,7 @@ jobs:
strategy: strategy:
matrix: matrix:
arch: [x86_64] arch: [x86_64]
version: ["5.10.178"] version: ["5.10.213"]
include: include:
- arch: x86_64 - arch: x86_64
git_tag: chromeos-5.10-arcvm git_tag: chromeos-5.10-arcvm

View File

@@ -142,6 +142,6 @@ jobs:
if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then
export VERSION=$(git rev-list --count HEAD) export VERSION=$(git rev-list --count HEAD)
APK=$(find ./app/build/outputs/apk/release -name "*.apk") APK=$(find ./app/build/outputs/apk/release -name "*.apk")
pip3 install telethon==1.31.1 pip3 install telethon==1.34.0
python3 $GITHUB_WORKSPACE/scripts/ksubot.py $APK python3 $GITHUB_WORKSPACE/scripts/ksubot.py $APK
fi fi

View File

@@ -28,7 +28,7 @@ jobs:
fi fi
- uses: nttld/setup-ndk@v1 - uses: nttld/setup-ndk@v1
with: with:
ndk-version: r25c ndk-version: r26c
- name: Build su - name: Build su
working-directory: ./userspace/su working-directory: ./userspace/su
run: ndk-build run: ndk-build

View File

@@ -37,7 +37,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
cache: yarn # or pnpm / yarn cache: yarn # or pnpm / yarn
cache-dependency-path: website/yarn.lock cache-dependency-path: website/yarn.lock
- name: Setup Pages - name: Setup Pages

View File

@@ -15,7 +15,7 @@ on:
jobs: jobs:
build: build:
name: Build WSA-Kernel-${{ inputs.version }}-${{ inputs.arch }} name: Build WSA-Kernel-${{ inputs.version }}-${{ inputs.arch }}
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
env: env:
CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion" CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
CCACHE_NOHASHDIR: "true" CCACHE_NOHASHDIR: "true"
@@ -40,7 +40,7 @@ jobs:
with: with:
version: "12.0.1" version: "12.0.1"
force-version: true force-version: true
ubuntu-version: "16.04" ubuntu-version: "22.04"
cached: ${{ steps.cache-llvm.outputs.cache-hit }} cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Checkout KernelSU - name: Checkout KernelSU
@@ -57,7 +57,7 @@ jobs:
path: WSA-Linux-Kernel path: WSA-Linux-Kernel
- name: Setup Ccache - name: Setup Ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1
with: with:
key: WSA-Kernel-${{ inputs.version }}-${{ inputs.arch }} key: WSA-Kernel-${{ inputs.version }}-${{ inputs.arch }}
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

View File

@@ -1,8 +1,8 @@
[versions] [versions]
agp = "8.3.1" agp = "8.3.1"
kotlin = "1.9.22" kotlin = "1.9.23"
ksp = "1.9.23-1.0.19" ksp = "1.9.23-1.0.19"
compose-compiler = "1.5.10" compose-compiler = "1.5.11"
compose-bom = "2024.03.00" compose-bom = "2024.03.00"
lifecycle = "2.7.0" lifecycle = "2.7.0"
accompanist = "0.34.0" accompanist = "0.34.0"

Binary file not shown.

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME