Browse Source

update action

lqg 1 year ago
parent
commit
d4ebbf845b
4 changed files with 35 additions and 22 deletions
  1. 27 16
      .github/workflows/android.yml
  2. 3 1
      README.md
  3. 2 2
      app/src/main/AndroidManifest.xml
  4. 3 3
      keystore.properties

+ 27 - 16
.github/workflows/android.yml

@@ -12,19 +12,30 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
     steps:
     steps:
-    - uses: actions/checkout@v2
-
-    - name: set up JDK 11
-      uses: actions/setup-java@v1
-      with:
-        java-version: 11
-        
-    - name: Build Debug APK
-      run: ./gradlew assembleDebug
-
-    # - name: Releasing using Hub
-    #   uses: ShaunLWM/action-release-debugapk@master
-    #   env:
-    #     GITHUB_TOKEN: ${{secrets.TOKEN}}
-    #     APP_FOLDER: app
-    #     RELEASE_TITLE: Album
+      - uses: actions/checkout@v2
+
+      - name: set up JDK 17
+        uses: actions/setup-java@v1
+        with:
+          java-version: 17
+
+      - name: Gradle cache
+        id: cache
+        uses: actions/cache@v2
+        with:
+          path: |
+            ~/.gradle/
+            ~/.gradle/wrapper
+          key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
+          restore-keys: |
+            ${{ runner.os }}-gradle-
+
+      - name: Build Debug APK
+        run: ./gradlew assembleDebug
+
+      # - name: Releasing using Hub
+      #   uses: ShaunLWM/action-release-debugapk@master
+      #   env:
+      #     GITHUB_TOKEN: ${{secrets.TOKEN}}
+      #     APP_FOLDER: app
+      #     RELEASE_TITLE: Album

+ 3 - 1
README.md

@@ -1,4 +1,4 @@
-## appManager
+## AppManager
 
 
 [![Version](https://img.shields.io/badge/version-v1.0.3-brightgreen)](https://git.yoqi.me/lyq/AppManager)
 [![Version](https://img.shields.io/badge/version-v1.0.3-brightgreen)](https://git.yoqi.me/lyq/AppManager)
 [![Android](https://img.shields.io/badge/Android-33-brightgreen?style=plastic&logo=Android)](https://git.yoqi.me/lyq/AppManager)
 [![Android](https://img.shields.io/badge/Android-33-brightgreen?style=plastic&logo=Android)](https://git.yoqi.me/lyq/AppManager)
@@ -12,3 +12,5 @@ android 包名查看器,方便开发。[click me to download it](http://downlo
 
 
 Licensed under the [Apache 2.0](LICENSE) © [liuyuqi.gov@msn.cn](https://github.com/jianboy)
 Licensed under the [Apache 2.0](LICENSE) © [liuyuqi.gov@msn.cn](https://github.com/jianboy)
 
 
+## Reference
+

+ 2 - 2
app/src/main/AndroidManifest.xml

@@ -23,7 +23,7 @@
         android:supportsRtl="true"
         android:supportsRtl="true"
         android:theme="@style/AppTheme">
         android:theme="@style/AppTheme">
         <activity
         <activity
-            android:name=".MainActivity"
+            android:name=".views.SplashActivity"
             android:exported="true"
             android:exported="true"
             android:theme="@style/Theme.AppCompat.Light.NoActionBar">
             android:theme="@style/Theme.AppCompat.Light.NoActionBar">
             <intent-filter>
             <intent-filter>
@@ -32,7 +32,7 @@
                 <category android:name="android.intent.category.LAUNCHER" />
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
             </intent-filter>
         </activity>
         </activity>
-        <activity android:name=".views.SplashActivity" />
+        <activity android:name=".MainActivity" />
     </application>
     </application>
 
 
 </manifest>
 </manifest>

+ 3 - 3
keystore.properties

@@ -1,4 +1,4 @@
-storeFile=C:\\Users\\liuyuqi\\OneDrive\\cert\\android\\coding-android-sign-dev.jks
+storeFile=AppManager.jks
 keyAlias=key0
 keyAlias=key0
-keyPassword=coding321
-storePassword=coding321
+keyPassword=QWlGgQ5b
+storePassword=QWlGgQ5b