Skip to content

Dumping Firmware

Dumping Firmware #18

Workflow file for this run

name: Dumping Firmware
on:
workflow_dispatch:
inputs:
ROM_URL:
description: "Direct Link of the ROM/Firmware to Dump"
required: true
defaults:
run:
shell: bash
env:
# ROM
ROM_URL: ${{ github.event.inputs.ROM_URL }}
# Gitlab
PUSH_TO_GITLAB: true
GITLAB_GROUP: fw-dumps
GITLAB_INSTANCE: gitlab.ge-solutions.it
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkouts
uses: actions/checkout@v2
- name: Clone Our Firmware Dumper
run: |
mkdir -p ~/.ssh
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
echo "${{ secrets.PRIV_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Clone Our Firmware Dumper
run: |
git clone https://github.com/DumprX/DumprX.git DumprX
- name: Setup Config envs
working-directory: DumprX
run: |
sudo apt install neofetch -y
neofetch
git config --global user.name "atharvnegi"
git config --global user.email "[email protected]"
echo "${{ secrets.GITLAB_TOKEN }}" > .gitlab_token # Only for Gitlab
echo "${{ secrets.GITLAB_GROUP }}" > .gitlab_group # Only for Gitlab
echo "${{ secrets.BOT_TOKEN }}" > .tg_token
echo "${{ secrets.CHAT_ID }}" > .tg_chat
echo "${GITLAB_INSTANCE}" > .gitlab_instance
sudo bash setup.sh
- name: Start Dumping
working-directory: DumprX
run: |
./dumper.sh "$ROM_URL"