Skip to content

https://hugeota.d.miui.com/V14.0.0.4.UMBCNXM/miui_NUWA_V14.0.0.4.UMBC… #70

https://hugeota.d.miui.com/V14.0.0.4.UMBCNXM/miui_NUWA_V14.0.0.4.UMBC…

https://hugeota.d.miui.com/V14.0.0.4.UMBCNXM/miui_NUWA_V14.0.0.4.UMBC… #70

Workflow file for this run

name: Dump
on:
push:
branches:
- master
env:
DUMP_URL: "https://hugeota.d.miui.com/V14.0.0.4.UMBCNXM/miui_NUWA_V14.0.0.4.UMBCNXM_32bf040098_14.0.zip" # Direct url to a recovery zip
jobs:
dump:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
overprovision-lvm: true
remove-dotnet: true
remove-android: true
remove-codeql: true
remove-haskell: true
remove-docker-images: true
- name: Set up Git
uses: actions/checkout@v3
- name: Create .githubtoken file
run: echo "${{ secrets.GIT_TOKEN }}" > .githubtoken
- name: Create .tgtoken file
run: echo "${{ secrets.TELEGRAM_TOKEN }}" > .tgtoken
- name: Set up environment
run: bash setup.sh
# protobuf-compiler is required for this
#- name: Install otadump
# uses: actions-rs/install@v0.1
# with:
# crate: otadump
# version: latest
- name: Run dumpyara
run: |
if [[ $DUMP_URL == *"pixeldrain"* || $DUMP_URL == *"dlcdnets.asus.com"* ]]; then
wget -O dump.zip "$DUMP_URL"
bash dumpyara.sh dump.zip
else
bash dumpyara.sh "$DUMP_URL"
fi