mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
better release info
This commit is contained in:
37
.github/workflows/Build-MicroG.yml
vendored
37
.github/workflows/Build-MicroG.yml
vendored
@@ -1,12 +1,11 @@
|
|||||||
name: Build MicroG
|
name: Build MicroG
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
permissions: write-all
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
|
name: Build MicroG
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -14,19 +13,17 @@ jobs:
|
|||||||
repository: inotia00/VancedMicroG
|
repository: inotia00/VancedMicroG
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: JDK Setup
|
- name: JDK Setup
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|
||||||
- name: Cache Gradle
|
- name: Cache Gradle
|
||||||
uses: burrunan/gradle-cache-action@v1
|
uses: burrunan/gradle-cache-action@v1
|
||||||
|
with:
|
||||||
|
job-id: Build
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
|
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Setup keystore
|
- name: Setup keystore
|
||||||
run: |
|
run: |
|
||||||
keytool -genkey -v -keystore play-services-core/keystore.jks -storepass microg -alias microg -keypass microg -dname "CN=microg" -keyalg RSA -keysize 2048 -validity 10000
|
keytool -genkey -v -keystore play-services-core/keystore.jks -storepass microg -alias microg -keypass microg -dname "CN=microg" -keyalg RSA -keysize 2048 -validity 10000
|
||||||
@@ -48,18 +45,26 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: ./gradlew assemble
|
run: |
|
||||||
|
chmod +x ./gradlew
|
||||||
- name: Build APK
|
./gradlew assemble
|
||||||
run: ./gradlew assembleRelease
|
- name: Build MicroG
|
||||||
|
run: |
|
||||||
|
./gradlew assembleRelease
|
||||||
|
mkdir ./release
|
||||||
|
cp play-services-core/build/outputs/apk/release/play-services-core-release.apk ./release/MicroG.apk
|
||||||
|
- name: Generate release info
|
||||||
|
run: |
|
||||||
|
echo "
|
||||||
|
**Change log** :point_down:
|
||||||
|
[MicroG](https://github.com/inotia00/VancedMicroG)
|
||||||
|
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
uses: softprops/action-gh-release@v0.1.15
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
play-services-core/build/outputs/apk/release/play-services-core-release.apk
|
./release/*.apk
|
||||||
name: MicroG by inotia00
|
name: MicroG
|
||||||
tag_name: MicroG
|
tag_name: MicroG
|
||||||
body: Change logs https://github.com/inotia00/VancedMicroG/releases
|
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user