mirror of
https://github.com/meowarex/rl-mobile.git
synced 2026-06-17 21:13:11 +10:00
@@ -0,0 +1,4 @@
|
|||||||
|
tidal-apk/*.apk filter=lfs diff=lfs merge=lfs -text
|
||||||
|
tidal-apk/*.apkm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
patches/extension/**/*.smali text eol=lf
|
||||||
|
patches/*.patch text eol=lf
|
||||||
@@ -19,14 +19,34 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: rl-mobile-artifacts
|
name: rl-mobile-artifacts
|
||||||
path: ./dist/
|
path: ./dist/
|
||||||
|
|
||||||
- name: Rename APK
|
- name: Prepare release assets
|
||||||
run: mv ./dist/app-release.apk ./dist/rl-manager.apk
|
run: |
|
||||||
|
mv ./dist/app-release.apk ./dist/rl-manager.apk
|
||||||
|
cp patches/data.json ./dist/data.json
|
||||||
|
cd patches && zip -r ../dist/patches.zip . -x "data.json" && cd ..
|
||||||
|
|
||||||
|
tidal_src=$(find tidal-apk -maxdepth 1 \( -name "*.apk" -o -name "*.apkm" \) | head -1)
|
||||||
|
if [ -z "$tidal_src" ]; then
|
||||||
|
echo "::error::No TIDAL .apk or .apkm found in tidal-apk/"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [[ "$tidal_src" == *.apkm ]]; then
|
||||||
|
echo "Extracting base.apk from $tidal_src"
|
||||||
|
unzip -p "$tidal_src" base.apk > ./dist/tidal-stock.apk
|
||||||
|
else
|
||||||
|
cp "$tidal_src" ./dist/tidal-stock.apk
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
uses: marvinpinto/action-automatic-releases@latest
|
uses: marvinpinto/action-automatic-releases@latest
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"tidalVersionCode": 9089,
|
"tidalVersionCode": 9089,
|
||||||
"tidalApkUrl": "",
|
"tidalApkUrl": "https://github.com/meowarex/rl-mobile/releases/download/latest/tidal-stock.apk",
|
||||||
"patchesVersion": "0.5.0"
|
"patchesVersion": "0.5.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user