Update dump.yml #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dump | |
on: | |
push: | |
paths-ignore: | |
- '*.md' | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
env: | |
ROM_URL: https://rms01.realme.net/sw/RMX3842export_11_14.0.0.805EX01_2024032903400000.zip | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/sushrut1101/docker:arch | |
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" |