Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'Configs' of https://github.com/FlowerWorks/Apodidae int…
Browse files Browse the repository at this point in the history
…o Configs
  • Loading branch information
naranyinyun committed Jan 10, 2024
2 parents e1ebac2 + 46b3bce commit d9a4fa5
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 5 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/AutoPackDev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: AutoPackDev
on:
push:
tags: "dev*"

jobs:
AutoPack:
name: AutoPackDev
runs-on: ubuntu-latest
environment: Preview

steps:
- name: PackConfigs
run: |
mkdir ApodidaeWorkFlows
cd ApodidaeWorkFlows
git clone -b Configs https://github.com/naranyinyun/Apodidae.git ApodidaeConfigs
cd ApodidaeConfigs
tar -cvf ConfigsApodidae.tar --exclude=.git --exclude=Configs.tar --exclude=.github *
cd ..
git clone -b Magisk https://github.com/naranyinyun/Apodidae.git ApodidaeModule
cp ApodidaeConfigs/{dimensity1000,dimensity1100,dimensity700,dimensity8100,dimensity820,dimensity900,dimensity9000,helio_g80,helio_g90,tegra_x1}.json ApodidaeModule/configs 2>/dev/null || :
cp ApodidaeConfigs/LICENSE ApodidaeModule/configs
cd ApodidaeModule
zip -r MagiskApodidae.zip * -x=".git"
cd ..
mv /home/runner/work/Apodidae/Apodidae/ApodidaeWorkFlows/ApodidaeModule/MagiskApodidae.zip /home/runner/work/Apodidae
mv /home/runner/work/Apodidae/Apodidae/ApodidaeWorkFlows/ApodidaeConfigs/ConfigsApodidae.tar /home/runner/work/Apodidae
mv /home/runner/work/Apodidae/Apodidae/ApodidaeWorkFlows/ApodidaeConfigs/changelog.md /home/runner/work/Apodidae
mv /home/runner/work/Apodidae/Apodidae/ApodidaeWorkFlows/ApodidaeConfigs/changelogDev.md /home/runner/work/Apodidae
cd /home/runner/work/Apodidae
- name: CreateRelease
uses: softprops/action-gh-release@v0.1.15
with:
draft: false
token: ${{secrets.DEVTOKEN}}
files: |
/home/runner/work/Apodidae/MagiskApodidae.zip
/home/runner/work/Apodidae/ConfigsApodidae.tar
body_path: /home/runner/work/Apodidae/changelogDev.md
prerelease: true
name: Apodidae Dev Version Release



2 changes: 0 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
### What's new?
- Update MTD1100 to Latest
- Update MTD9000 to Latest
- Update MTD8100 to Latest
### Note
Thanks to @XiaHuaBeiChiDiaoLe, @Naranyinyun
---
Expand Down
5 changes: 5 additions & 0 deletions changelogDev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## What's New?
- None

## Note
- Init commit
6 changes: 3 additions & 3 deletions dimensity9000.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
"activeRateHz": 50,
"idleRateHz": 30,
"preferredFreq": [
417,
501,
638,
770
]
Expand All @@ -374,13 +374,13 @@
"downRateDiff": 10
},
"balance": {
"maxFreq": 417,
"maxFreq": 501,
"minFreq": 0,
"upRateThres": 80,
"downRateDiff": 10
},
"performance": {
"maxFreq": 638,
"maxFreq": 770,
"minFreq": 0,
"upRateThres": 70,
"downRateDiff": 10
Expand Down

0 comments on commit d9a4fa5

Please sign in to comment.