This repository has been archived by the owner on May 12, 2024. It is now read-only.
Generate Magisk Modules Alt Repo Meta JSON #53
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: Generate Magisk Modules Alt Repo Meta JSON | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 */2 * * *" | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
architecture: "x64" | |
cache-dependency-path: "**/requirements.txt" | |
- name: Install dependencies | |
run: pip install -r generate/requirements.txt | |
- name: Generate | |
run: python generate/generate.py | |
env: | |
NAME: Magisk-Modules-Alt-Repo | |
TITLE: Magisk Modules Alt Repo | |
WEBSITE: https://github.com/Magisk-Modules-Alt-Repo | |
SUPPORT: https://github.com/Magisk-Modules-Alt-Repo/json/issues | |
SUBMIT_MODULE: https://github.com/Magisk-Modules-Alt-Repo/submission | |
SCOPE: mmar | |
TOKEN: "${{ secrets.TOKEN }}" | |
- name: Setup Git | |
run: | | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
- name: Commit Changes | |
run: | | |
git add . | |
git commit -m "Update Magisk Modules Alt Repo" || true | |
git push || true |