Skip to content

Update dump.yml

Update dump.yml #179

Workflow file for this run

name: Dump
on:
push:
paths-ignore:
- '*.md'
branches: [ main ]
defaults:
run:
shell: bash
env:
ROM_URL: https://587st7-my.sharepoint.com/personal/tejas101k_587st7_onmicrosoft_com/_layouts/15/download.aspx?SourceUrl=%2Fpersonal%2Ftejas101k_587st7_onmicrosoft_com%2FDocuments%2Fyamb%2Fhrom_s20r_port_vendor_j6lte%2FVENDOR.img
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/dumprx/docker:latest
options: --privileged
steps:
- name: Cleanup
uses: rokibhasansagar/slimhub_actions@main
- name: Checkouts
uses: actions/checkout@v3
- name: Clone Dumpyara
run: |
git clone https://github.com/dumprx/DumprX dumper
- 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