From a866acf9a0f89d31c6ca65a6f23b9ef5bc859fbe Mon Sep 17 00:00:00 2001 From: 877916595 <123642715+877916595@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:16:10 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ec417288..8af67a58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,27 +1,27 @@ -name: Build -on: - workflow_dispatch: - inputs: - package_name: - description: "Package name of the game:" - required: true +姓名:建立 +在……之上: +workflow_dispatch: +输入: +package_name: +描述:"com.tencent.tmgp.pubgmhd:" +必需的:正确 -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 11 - cache: gradle - - run: | - chmod +x ./gradlew - sed -i 's/moduleDescription = "/moduleDescription = "(${{ github.event.inputs.package_name }}) /g' module.gradle - sed -i "s/com.game.packagename/${{ github.event.inputs.package_name }}/g" module/src/main/cpp/game.h - ./gradlew :module:assembleRelease - - uses: actions/upload-artifact@v3 - with: - name: zygisk-il2cppdumper - path: out/magisk_module_release/ +工作: +建立: +run-on:ubuntu-最新 +步骤: +-uses:操作/签出@v3 +-uses:操作/设置-java@v3 +和……一起: +分布:temurin +java版:11 +缓存:Gradle +-跑:| +chmod+x./gradlew +SED-i的/moduleDescription="/moduleDescription="(${{github。event.inputs.package_name}})/g'module.gradle +SED-i"s/com.game.packagename/${{github.event.inputs.package_name}}/g"模块/src/main/cpp/Game.h +./gradlew:模块:assemblyRelease +-uses:操作/上载工件@v3 +和……一起: +姓名:zygisk-il2cppdumper +路径:out/magisk_module_release/