Skip to content

Commit

Permalink
V4
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Sep 28, 2024
1 parent ecb6760 commit 2c939cf
Show file tree
Hide file tree
Showing 645 changed files with 21,523 additions and 35,180 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yaml

This file was deleted.

73 changes: 73 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Bug Report
description: Report a bug
labels: [ "bug" ]
title: "[BUG] "
body:
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Ensure that our bug report form is appropriate for you
options:
- label: No one has submitted a similar or identical bug report before
required: true
- label: I'm using the latest version of MMRL
required: true
- type: textarea
id: bug
attributes:
label: Bug description
description: Please describe the bug
placeholder: |
e.g. Crashed when installing module
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
description: What did you expect to happen
placeholder: |
e.g. Install a module
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual behavior
description: What happened instead
placeholder: |
e.g. Crashed
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: How to reproduce the bug
placeholder: |
1. Open the app
2. Crashed
What an app
- type: input
id: ui
attributes:
label: UI / OS
description: Your system UI or OS
placeholder: MIUI / OneUI / etc.
validations:
required: true
- type: input
id: android
attributes:
label: Android Version
description: Your Android Version
placeholder: "14"
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional info
description: Everything else you consider worthy that we didn't ask for
101 changes: 0 additions & 101 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
blank_issues_enabled: true
contact_links:
- name: MMRL Telegram group
url: https://t.me/RepoLoader
about: Join the oficial MMRL group and discuss with the developers and other community member.
- name: Fox2Code Telegram group
url: https://t.me/Fox2Code_Chat
about: Join the Telegram group if you want to discuss with the community.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/fr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Suggest an idea for this project
labels: [ "enhancement" ]
title: "[FR] "
body:
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Ensure that our bug report form is appropriate for you
options:
- label: No one has submitted a similar or identical feature request before
required: true
- label: This suggestion does not depart from the original intention of MMRL
required: true
- type: textarea
id: propose
attributes:
label: Enhancement propose
description: Propose of the enhancement
placeholder: |
Show your idea here
validations:
required: true
- type: textarea
id: solution
attributes:
label: Solution
description: What's your solution for this enhancement
placeholder: |
How to do it on your opinion
- type: textarea
id: addition
attributes:
label: Additional info
description: Everything else you consider worthy that we didn't ask for
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/mbl.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

34 changes: 26 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/Website" # Location of package manifests
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "21:00"
labels: [ "github_actions" ]

- package-ecosystem: gradle
directory: "/"
schedule:
interval: "weekly"
interval: daily
time: "21:00"
labels: [ "dependencies" ]
registries: "*"
groups:
kotlin-ksp:
patterns:
- "org.jetbrains.kotlin:*"
- "org.jetbrains.kotlin.jvm"
- "com.google.devtools.ksp"
- "com.google.devtools.ksp.gradle.plugin"

registries:
maven-google:
type: "maven-repository"
url: "https://maven.google.com"
replaces-base: true
63 changes: 63 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Android CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up signing key
if: github.ref == 'refs/heads/main'
run: |
if [ ! -z "${{ secrets.KEY_STORE }}" ]; then
echo keyStorePassword='${{ secrets.KEY_STORE_PASSWORD }}' >> signing.properties
echo keyAlias='${{ secrets.KEY_ALIAS }}' >> signing.properties
echo keyPassword='${{ secrets.KEY_PASSWORD }}' >> signing.properties
echo keyStore='${{ github.workspace }}/key.jks' >> signing.properties
echo ${{ secrets.KEY_STORE }} | base64 --decode > ${{ github.workspace }}/key.jks
fi
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
gradle-home-cache-cleanup: true

- name: Build with Gradle
run: ./gradlew assembleRelease

- name: Get release name
if: success() && github.ref == 'refs/heads/main'
id: release-name
run: |
name=`ls app/build/outputs/apk/release/*.apk | awk -F '(/|.apk)' '{print $6}'` && echo "name=${name}" >> $GITHUB_OUTPUT
- name: Upload built apk
if: success() && github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
name: ${{ steps.release-name.outputs.name }}
path: app/build/outputs/apk/release/*.apk

- name: Upload mappings
if: success() && github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
name: mappings
path: app/build/outputs/mapping/release
Loading

0 comments on commit 2c939cf

Please sign in to comment.