forked from royalturd/android_dump_creator
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (40 loc) · 1.37 KB
/
dumper.yml
File metadata and controls
45 lines (40 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Dumping
on:
workflow_dispatch:
inputs:
rom_link:
description: 'rom link'
required: true
env:
ROM_URL: ${{ github.event.inputs.rom_link }}
jobs:
dump:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@master
- name: Clone Dumper Source Code
run: |
git clone https://github.com/DroidDumps/phoenix_firmware_dumper dumper
git config --global user.email "yashnearayanp8@gmail.com"
git config --global user.name "Yashlearnpython"
- name: Setting up Dumper requirements
run: |
sudo chmod -R 777 dumper
cd dumper
sudo pip3 install wheel setuptools
sudo bash setup.sh
touch .tg_token
echo "${{ secrets.BOT }}" >> ".tg_token"
touch .github_orgname
echo "AndroidDumpsByYash" >> ".github_orgname"
touch .github_token
echo "${{ secrets.GHTOKEN }}" >> ".github_token"
touch .tg_chat
echo "@Yash_Community" >> ".tg_chat"
git config --global user.email "yashnearayanp8@gmail.com"
git config --global user.name "Yash"
- name: Download Stock Rom & Generate dump
run: |
cd dumper
sudo bash dumper.sh $ROM_URL