diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c60b1178..a5966a60 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,6 +36,7 @@ jobs: echo androidStoreFile='key.jks' >> gradle.properties echo ${{ secrets.KEY_STORE }} | base64 --decode > key.jks fi + - name: Checkout libxposed/api uses: actions/checkout@v3 with: @@ -77,12 +78,14 @@ jobs: cd service echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties ./gradlew :interface:publishInterfacePublicationToMavenLocal + - name: Build with Gradle run: | echo 'org.gradle.parallel=true' >> gradle.properties echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties echo 'android.native.buildOutput=verbose' >> gradle.properties ./gradlew buildAll + - name: Upload Debug artifact uses: actions/upload-artifact@v3 with: @@ -102,12 +105,14 @@ jobs: path: | patch-loader/build/outputs/mapping manager/build/outputs/mapping + - name: Upload symbols uses: actions/upload-artifact@v3 with: name: symbols path: | patch-loader/build/symbols + - name: Post to channel if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/master' }} env: