diff --git a/.github/workflows/strato-android-build.yml b/.github/workflows/strato-android-build.yml index 1632d11..8b59ade 100644 --- a/.github/workflows/strato-android-build.yml +++ b/.github/workflows/strato-android-build.yml @@ -11,8 +11,8 @@ on: description: 'select flavor to build(default: mainline)' required: false default: 'mainline' -# schedule: -# - cron: "30 0 */2 * *" + schedule: + - cron: "0 0 1 * *" jobs: strato_android_build: @@ -28,7 +28,14 @@ jobs: - name: Download strato source code run: | cd ${{ github.workspace }} - git clone --branch ${{ github.event.inputs.branch || 'master' }} https://github.com/strato-emu/strato.git --recursive + git clone --branch ${{ github.event.inputs.branch || 'master' }} https://github.com/strato-emu/strato.git + cd strato + git config --global user.email "autoci@impxada.com" + git config --global user.name "impxada-autoci" + git config -f .gitmodules submodule.Sirit.url https://github.com/yuzu-mirror/sirit + git add .gitmodules + git commit -m "Update submodule URL" + git submodule update --init --recursive - id: version name: Get version @@ -66,9 +73,16 @@ jobs: mv $(find app/build/outputs/apk -type f | grep -E "\.apk$") ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk ccache -s - - name: Release Strato + - name: Release Strato Android (Strato-Android) + uses: softprops/action-gh-release@v2 + with: + name: Strato Android ${{ steps.version.outputs.date }} + tag_name: strato-android + files: ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk + + - name: Release Strato Android ${{ steps.version.outputs.date }} uses: softprops/action-gh-release@v2 with: name: ${{ steps.version.outputs.date }} tag_name: ${{ steps.version.outputs.date }} - files: ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk + files: ${{ github.workspace }}/strato-${{ github.event.inputs.flavor || 'mainline' }}-${{ steps.version.outputs.date }}-${{ steps.version.outputs.version }}.apk \ No newline at end of file diff --git a/README.md b/README.md index 9b564d4..7c07fc6 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ## Project Introduction -This is an automated CI project for suyu, sudachi, and mesa turnip. +This is an automated CI project for suyu, sudachi, strato and mesa turnip. ## Release Notes @@ -14,8 +14,9 @@ This is an automated CI project for suyu, sudachi, and mesa turnip. 2. Suyu Windows version is automatically generated every 2 days at 00:00:00 (UTC). 3. Mesa Turnip Android version is automatically generated daily at 00:00:00 (UTC). 4. Sudachi Android version is automatically generated every 3 days at 00:00:00 (UTC). -5. Naming format: "Project Name - Date - Tag - Branch". (Tag depends on the developer, a decrease in version number does not indicate a backward release version) -6. Release frequency may be adjusted based on project code commit frequency. +5. Strato Android version is automatically generated on the 1st of every month at 00:00:00 (UTC). +6. Naming format: "Project Name - Date - Tag - Branch". (Tag depends on the developer, a decrease in version number does not indicate a backward release version) +7. Release frequency may be adjusted based on project code commit frequency. ## Driver Usage Instructions @@ -34,8 +35,11 @@ The daily release includes all projects that underwent CI execution on that day. [Sudachi Android](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android) +[Strato Android](https://github.com/ImpXada/Auto-CI/releases/tag/strato-android) + ## Project Source Code 1. [Suyu](https://git.suyu.dev/suyu/suyu) 2. [Turnip](https://gitlab.freedesktop.org/mesa/mesa) 3. [Sudachi](https://github.com/sudachi-emu/sudachi) +4. [Strato](https://github.com/strato-emu/strato) \ No newline at end of file diff --git a/README_CN.md b/README_CN.md index 23796ea..a732427 100644 --- a/README_CN.md +++ b/README_CN.md @@ -1,12 +1,12 @@ # Auto-CI

-English | 简体中文 +English | 简体中文

## 项目介绍 -suyu sudachi turnip mesa的自动CI项目 +suyu sudachi strato mesa-turnip的自动CI项目 ## 发布说明 @@ -14,8 +14,9 @@ suyu sudachi turnip mesa的自动CI项目 2. 每2天的00:00:00(UTC)会自动生成Suyu Windows版。 3. 每天的00:00:00(UTC)会自动生成Mesa Turnip 安卓版。 4. 每3天的00:00:00(UTC)会自动生成Sudachi安卓版。 -5. 命名方式为”项目名-日期-Tag-分支“。(Tag取决于开发者,如果出现版本号下降,不代表发包版本落后) -6. 发布频率可能会根据项目代码提交频率进行调整。 +5. 每月1号的00:00:00(UTC)会自动生成Strato安卓版。 +6. 命名方式为”项目名-日期-Tag-分支“。(Tag取决于开发者,如果出现版本号下降,不代表发包版本落后) +7. 发布频率可能会根据项目代码提交频率进行调整。 ## 驱动使用说明 @@ -34,8 +35,11 @@ suyu sudachi turnip mesa的自动CI项目 [Sudachi Android版](https://github.com/ImpXada/Auto-CI/releases/tag/sudachi-android) +[Strato Android版](https://github.com/ImpXada/Auto-CI/releases/tag/strato-android) + ## 项目源码 1. [Suyu](https://git.suyu.dev/suyu/suyu) 2. [Turnip](https://gitlab.freedesktop.org/mesa/mesa) 3. [Sudachi](https://github.com/sudachi-emu/sudachi) +4. [Strato](https://github.com/strato-emu/strato) \ No newline at end of file