Update dump.yml #175
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://01-samfw.cloud/v2/IxJCDiMnLgE1LEEdFwgxPw82HxYSMR4lFzssIDs2ByAzMUEgOzEUQDMQMCMBOyw/PBEuNhIWHh8uMQcjNBYsLTwDKQMhOEEkLycwCy8wNB07Ox4kIzYsQDILQSc8ER4HMgsvAQ8EMC8XLx5BHiwgNjssHi0BAywrOwMIHTQnBzY1OxUfEjE8MQEbBkIeCzwGHgM8FCMkNDEjCxVACTghHzInDQYuFx8rIwAvJCFAMxE8EQY5NRshDjURPho0ES8kNRYhOR44LwsJEQc5NBsjKyEAPg4hAAYsLjgeLDQRHg4yJTMsMiUNKzwAPh8mGzk5FyUzDTUHQQEuByADISxBIwMnOUANQAokMzYCICMXPjkDFzA1CS8pDTsxHhwzQAZCOzEHHjMsNCsNMT4eODAeHgk7Oz8jJCEEODEsATswPgcjCyMADSwpPDskLwgXCCMGOAAhKTw/FD01OCBCJhszMSEnFAQvCD4GFyUpMw0RLgUuJSAtLjYaFDsIHyUDOCwjOxcuKTwsAgsjOAZCIwM0Bh4DDTEeJDQdHg0TEw== | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/dumprx/docker:latest | |
options: --privileged | |
steps: | |
- name: Checkouts | |
uses: actions/checkout@v3 | |
- 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 |