Skip to content

Update dump.yml

Update dump.yml #144

Workflow file for this run

name: Dumping fw
on:
push:
paths-ignore:
- '*.md'
branches: [ main ]
defaults:
run:
shell: bash
env:
ROM_URL: https://13-samfw.cloud/v2/IxJCDiMnLikSCB8LARYhIDQnHwsBOx4lFzssIDs2ByAzMUEgOzEUQDMQMCMBOyw/PBcpKQMRLhEJFz4dIRYsHjQXLAweAAc4MjYVMTIsLkA1JykMDzsVORclIDohOz4wEjYwAC47BkEPCBQGISUhECE2BxQ0Fi8XLiQsFjsSMRQ4MSE4DQsvLRc4BkIeCzwGHgM8FCMkNDEjCxVACTghHzInDQYuFx8rIwAvJCFAMxE8EQY5NRshDjURPho0ES8kNRYhOR44LwsJEQc5NBsjKyEAPg4hAAYsLjgeLDQRHg4yJTMsMiUNKzwAPh8mGzk5FyUzDTUHQQEuByADISxBIwMnOUANQAokMzYCICMXPjkDFzA1CS8pDTsxHhwzQAZCOzEHHjMsNCsNMT4eODAeHgk7OzkjCy8nODEsATswPgcjFgUwMywpPDskQQQvNjwGOAAhKTw/FD01OCBCJgc+MR42QR8PNgcaNSchHzIbFQYzJwpAEiwpAzw7HyMjLAcvMwgzEg8vQSQjOAZCIwM0OSMDCDEjAw0AHhUTEw==
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkouts
uses: actions/checkout@v2
- name: Clone Dumpyara
run: |
sudo apt install neofetch -y
git clone https://github.com/fw-dumps/DumprX dumper
sudo apt install python3-pip -y
sudo apt install -y f2fs-tools
- name: Setup Dumpyara environment
working-directory: 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: 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: dumper
run: |
./dumper.sh $ROM_URL