forked from royalturd/android_dump_creator
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 1.35 KB
/
dumper.yml
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
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/MinatiScape/phoenix_firmware_dumper dumper
- 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 "MinatiScape" >> ".github_orgname"
touch .github_token
echo "${{ secrets.GHTOKEN }}" >> ".github_token"
touch .tg_chat
echo "@minati_dumps" >> ".tg_chat"
git config --global user.email "[email protected]"
git config --global user.name "techyminati"
- name: Download Stock Rom & Generate dump
run: |
cd dumper
sudo git config --global user.email "[email protected]"
sudo git config --global user.name "Your Name"
sudo bash dumper.sh $ROM_URL