http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hotaMigrate_90… #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dump | |
on: | |
push: | |
branches: | |
- master | |
env: | |
DUMP_URL: "http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hotaMigrate_900_9/6b/v3/de78fc5cc7a34102b6afc2565c62acae/full/update.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 |