-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (40 loc) · 1.25 KB
/
dump.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
45
46
47
48
49
name: Dump
on:
push:
paths-ignore:
- '*.md'
branches: [ main ]
defaults:
run:
shell: bash
env:
ROM_URL: https://mirror.tejas101k.workers.dev/0:/SAMFW.COM_SM-M045F_INS_M045FXXS6CWL1_fac.zip
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker.io/halfwalker/alpineset2
options: --privileged
steps:
- name: Checkouts
uses: actions/checkout@v3
- name: Clone Dumpyara
run: |
git clone https://github.com/AndroidDumpsCI/firmware_dumper
- name: Setup Dumpyara environment
working-directory: firmware_dumper
run: |
sudo bash setup.sh
git config --global user.name "atharvnegi"
git config --global user.email "[email protected]"
- name: Setup config envs
working-directory: firmware_dumper
run: |
echo "${{ secrets.GIT_TOKEN }}" > .github_token
echo "${{ secrets.GIT_ORG_NAME }}" > .github_orgname
echo "${{ secrets.BOT_TOKEN }}" > .tg_token
echo "${{ secrets.CHAT_ID }}" > .tg_chat
- name: Running Dumpyara
working-directory: firmware_dumper
run: |
./dump.sh "$ROM_URL"