From cf773514e2dcf61a82341698e1e7ff0299ee3871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E9=9B=A8=20=E6=98=9F=E6=B2=B3?= Date: Wed, 20 Nov 2024 22:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Create=20Release.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Create Release.yml | 31 +++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Create Release.yml b/.github/workflows/Create Release.yml index 7136ffa..196287b 100644 --- a/.github/workflows/Create Release.yml +++ b/.github/workflows/Create Release.yml @@ -31,9 +31,16 @@ jobs: echo '{ "versionCode": '"${VERSIONCODE}"', "version": "'"${VERSION}"'", - "zipUrl": "https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/releases/download/'"${VERSION}"'/Magisk_'"${VERSION}"'.zip", + "zipUrl": "https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/releases/download/'"${VERSION}"'/Magisk_suni_'"${VERSION}"'.zip", "changelog": "https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/blob/main/changelog.md" - }' > Tritium.json + }' > Tritium_suni.json + + echo '{ + "versionCode": '"${VERSIONCODE}"', + "version": "'"${VERSION}"'", + "zipUrl": "https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/releases/download/'"${VERSION}"'/Magisk_fiage_'"${VERSION}"'.zip", + "changelog": "https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/blob/main/changelog.md" + }' > Tritium_fiage.json # 创建 module.prop 文件 echo 'id=ct_module @@ -43,17 +50,31 @@ jobs: author=Suni description=Optimize performance ing… updateJson=https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/blob/main/Tritium.json - ' > ./magisk/module.prop + ' > ./magisk_suni/module.prop + + echo 'id=ct_module + name=Tritium Scheduler + version='"${VERSION}"' + versionCode='"${VERSIONCODE}"' + author=Fiage + description=Optimize performance ing… + updateJson=https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/blob/main/Tritium_fiage.json + ' > ./magisk_fiage/module.prop - name: Zip Module run: | cd $GITHUB_WORKSPACE/magisk_suni - zip -r $GITHUB_WORKSPACE/${ZIP_FILENAME}_${VERSION}.zip ./* + zip -r $GITHUB_WORKSPACE/${ZIP_FILENAME}_suni_${VERSION}.zip ./* cd configs - zip -r $GITHUB_WORKSPACE/${CONFIG_NAME}_${VERSION}.zip ./* + zip -r $GITHUB_WORKSPACE/${CONFIG_NAME}_suni_${VERSION}.zip ./* cd ../../. + cd $GITHUB_WORKSPACE/magisk_fiage + zip -r $GITHUB_WORKSPACE/${ZIP_FILENAME}_fiage_${VERSION}.zip ./* + cd configs + zip -r $GITHUB_WORKSPACE/${CONFIG_NAME}_fiage_${VERSION}.zip ./* + cd ../../. - name: Release uses: softprops/action-gh-release@v2