Update build.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
名字: 名称:构建 | ||
在: | ||
工作流_调度: | ||
输入: | ||
包名: | ||
描述: "游戏的包名:com.fengchi.ldjx.nearme.gamecenter" | ||
需要: 真实的 | ||
工作: | ||
建设: | ||
连续运行: Ubuntu-最新版 | ||
步伐: | ||
- 使用: 动作/签出@v3 | ||
- 使用: 操作/设置-java@v3 | ||
随着: | ||
分布: 特穆林 | ||
java版本: 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/ |