diff --git a/.github/workflows/fullPackageTestBuild.yml b/.github/workflows/fullPackageTestBuild.yml deleted file mode 100644 index f4780bc1e..000000000 --- a/.github/workflows/fullPackageTestBuild.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Make Test Package - -on: - workflow_dispatch - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - run: git clone -b ${GITHUB_REF_NAME} --recurse-submodules https://github.com/siavash79/AOSPMods.git . - name: Grab source code - - - name: Setup JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: gradle - - - name: Grant permission shell scripts - run: chmod +x .github/*.sh - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew build - - - uses: r0adkll/sign-android-release@v1 - name: Sign app APK - - id: sign_app - with: - releaseDirectory: app/build/outputs/apk/debug - signingKeyBase64: ${{ secrets.SIGNING_KEY }} - alias: ${{ secrets.ALIAS }} - keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} - keyPassword: ${{ secrets.KEY_PASSWORD }} - env: - BUILD_TOOLS_VERSION: "32.0.0" - - - uses: actions/upload-artifact@v2 - name: Upload APK file - with: - name: AOSPMods.apk - path: ${{steps.sign_app.outputs.signedReleaseFile}} - - - name: Run the zip script - run: .github/make_debug_zip.sh - - - name: Upload Zip - uses: actions/upload-artifact@v2 - with: - name: AOSPMods.zip - path: output diff --git a/.github/workflows/makeCanaryRelease.yml b/.github/workflows/makeCanaryRelease.yml deleted file mode 100644 index 6a48949a4..000000000 --- a/.github/workflows/makeCanaryRelease.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: Make Canary Release - -on: - push: - branches: - - 'canary' - paths: - - '.github/edit2MakeNewCanary' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Grab Source - run: git clone --recurse-submodules https://github.com/siavash79/AOSPMods.git . - - - name: Setup JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: gradle - - - name: Grant permission shell scripts - run: chmod +x .github/*.sh - - - name: Generate Changelog - run: .github/extractChanges.sh - - - name: Update Versions - run: .github/bumpVersion.sh ${{ github.run_id }} - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - - name: Build with Gradle - run: ./gradlew assembleRelease - - - uses: r0adkll/sign-android-release@v1 - name: Sign app APK - id: sign_app - with: - releaseDirectory: app/build/outputs/apk/release - signingKeyBase64: ${{ secrets.SIGNING_KEY }} - alias: ${{ secrets.ALIAS }} - keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} - keyPassword: ${{ secrets.KEY_PASSWORD }} - env: - BUILD_TOOLS_VERSION: "33.0.0" - - - name: Run the zip script - run: .github/make_zip.sh - - - name: Prepare upload artifact - run: | - rm -rf tmp - mkdir -p tmp/xposed tmp/full - unzip -o output/xposed/*.zip -d tmp/xposed - unzip -o output/full/*.zip -d tmp/full - - - name: Upload Xposed Zip - uses: actions/upload-artifact@v2 - with: - name: AOSPMods_Xposed.zip - path: tmp/xposed - - - name: Upload Full Zip - uses: actions/upload-artifact@v2 - with: - name: AOSPMods_Full.zip - path: tmp/full - - - name: Commit version bump - uses: github-actions-x/commit@v2.9 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - push-branch: 'canary' - commit-message: 'Version update: Release' - force-add: 'true' - files: MagiskModBase/module.prop app/build.gradle latestVersion.json CanaryChangelog.md latestCanary.json - name: GitHub - email: aospmods@siava.sh - - - name: Inform Telegram - uses: appleboy/telegram-action@master - with: - to: ${{ secrets.AOSPMODS_CHANNEL_ID }} - token: ${{ secrets.TELEGRAM_TOKEN }} - message: ${{ env.TMessage }} - format: markdown - - - name: Send Files to Telegram - run: | - curl -v "https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMediaGroup?chat_id=${{ secrets.AOSPMODS_CHANNEL_ID }}&media=%5B%7B%22type%22%3A%22document%22%2C%20%22media%22%3A%22attach%3A%2F%2FXposed%22%7D%2C%7B%22type%22%3A%22document%22%2C%20%22media%22%3A%22attach%3A%2F%2FFull%22%7D%5D" -F Xposed="@output/xposed/AOSPMods_Xposed.zip" -F Full="@output/full/AOSPMods_Full.zip"