File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name: Align Android Config Bot
2+
3+ on:
4+ push:
5+ branches:
6+ - main # Or your primary branch
7+
8+ jobs:
9+ align:
10+ runs-on: ubuntu-latest
11+ steps:
12+ - name: Checkout Repository
13+ uses: actions/checkout@v4
14+
15+ - name: Run Alignment Script
16+ run: ./align_android_config.sh
17+
18+ - name: Download and Extract Gradle Wrapper JAR
19+ run: |
20+ mkdir -p gradle/wrapper
21+ curl -L -o gradle-dist.zip https://services.gradle.org/distributions/gradle-8.2-bin.zip
22+ unzip -p gradle-dist.zip gradle-8.2/lib/gradle-wrapper-8.2.jar > gradle/wrapper/gradle-wrapper.jar
23+ rm gradle-dist.zip
24+
25+ - name: Auto-commit changes
26+ uses: stefanzweifel/git-auto-commit-action@v5
27+ with:
28+ commit_message: "chore: Align Android configuration"
29+ branch: ${{ github.ref_name }}
30+ commit_options: '--no-verify'
31+ file_pattern: 'build.gradle settings.gradle app/build.gradle gradlew gradlew.bat gradle/wrapper/gradle-wrapper.properties src/**'
32+ repository: .
33+ commit_user_name: Config Bot
34+ commit_user_email: bot@superlab.com
35+ commit_author: Config Bot <bot@superlab.com>
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3+ package =" com.superlab.quantumide" >
4+
5+ <uses-permission android : name =" android.permission.INTERNET" />
6+ <uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
7+ <uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
8+ <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
9+
10+ <application
11+ android : allowBackup =" true"
12+ android : icon =" @mipmap/ic_launcher"
13+ android : label =" @string/app_name"
14+ android : theme =" @style/Theme.AppCompat.Light.DarkActionBar"
15+ android : usesCleartextTraffic =" true" >
16+ <activity
17+ android : name =" .MainActivity"
18+ android : exported =" true"
19+ android : configChanges =" orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
20+ android : windowSoftInputMode =" adjustResize" >
21+ <intent-filter >
22+ <action android : name =" android.intent.action.MAIN" />
23+ <category android : name =" android.intent.category.LAUNCHER" />
24+ </intent-filter >
25+ </activity >
26+ </application >
27+
28+ </manifest >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <adaptive-icon xmlns : android =" http://schemas.android.com/apk/res/android" >
3+ <background android : drawable =" @color/ic_launcher_background" />
4+ <foreground android : drawable =" @mipmap/ic_launcher_foreground" />
5+ </adaptive-icon >
Original file line number Diff line number Diff line change 1+ <resources >
2+ <color name =" ic_launcher_background" >#FFFFFF</color >
3+ </resources >
Original file line number Diff line number Diff line change 1+ <resources >
2+ <string name =" app_name" >GangTerm</string >
3+ </resources >
You can’t perform that action at this time.
0 commit comments