Skip to content

new

new #73

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
env:
VERSION: '10.0.0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Remove unwanted files
run: |
rm -rf my_workspaces/.my_workspaces
rm -rf README.md
rm -rf README_EN.md
rm -rf .git
rm -rf .github
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
with:
tag_name: ${{ env.VERSION }}
release_name: UY-Scuti ${{ env.VERSION }}
draft: false
prerelease: false
body: |
## 更新内容
### 新的功能
1. **修复小米 14 之后机型 fastboot 无法刷入 super 的问题**
2. **调整 super 的额外空间大小**:super 的额外空间大小调整为200MB,不再为1GB。
3. **警告**:所有 Android 15 涉及 Apktool 的修改会导致开机异常,现在不要使用与 Apktool 修改有关的内容,建议使用 MT 管理器修改。
## Release Notes
### New Features
1. **Fixed fastboot flashing issue for super on Xiaomi 14 and later models**
2. **Adjusted extra space size for super**: The extra space size for super has been adjusted to 200MB, no longer 1GB.
3. **Warning**: All modifications involving Apktool on Android 15 will cause boot issues. Avoid using Apktool-related modifications for now; consider using MT Manager for modifications.
- name: Archive project
run: zip -r UY-Sct_${{ env.VERSION }}.zip .
- name: Upload Release Asset
id: upload_release_asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./UY-Sct_${{ env.VERSION }}.zip
asset_name: UY-Sct_${{ env.VERSION }}.zip
asset_content_type: application/zip