From f6652b326bf07efc67ecc06d37d74eec7e579d89 Mon Sep 17 00:00:00 2001 From: Deenbandhu Netam <86369518+Deenu488@users.noreply.github.com> Date: Sat, 9 Nov 2024 09:23:20 +0530 Subject: [PATCH] Delete .github/workflows directory --- .github/workflows/debug-apk.yml | 36 ------------------------- .github/workflows/deleteoldrus.yml | 26 ------------------ .github/workflows/release-apk.yml | 43 ------------------------------ 3 files changed, 105 deletions(-) delete mode 100644 .github/workflows/debug-apk.yml delete mode 100644 .github/workflows/deleteoldrus.yml delete mode 100644 .github/workflows/release-apk.yml diff --git a/.github/workflows/debug-apk.yml b/.github/workflows/debug-apk.yml deleted file mode 100644 index 499e46e6..00000000 --- a/.github/workflows/debug-apk.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Android CI Debug - -on: - push: - branches: ['main'] - pull_request: - branches: ['main'] - workflow_dispatch: - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up JDK 21 - uses: actions/setup-java@v4.2.2 - with: - distribution: 'temurin' - java-version: '21' - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - - name: Build with Gradle - run: ./gradlew clean && ./gradlew assembleDebug - - - name: Upload debug apk - uses: actions/upload-artifact@v4 - if: ${{ !github.head_ref }} - with: - name: apk-debug - path: app/build/outputs/apk/debug/app-debug.apk diff --git a/.github/workflows/deleteoldrus.yml b/.github/workflows/deleteoldrus.yml deleted file mode 100644 index b1f05b7d..00000000 --- a/.github/workflows/deleteoldrus.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Delete old runs - -on: - workflow_dispatch: - inputs: - days: - description: 'Number of retains days.' - required: true - default: '0' - minimum_runs: - description: 'The minimum runs to keep for each workflow.' - required: true - default: '0' - -jobs: - deleteWorkflowRuns: - name: Delete old workflow runs - runs-on: ubuntu-latest - steps: - - name: Delete workflow runs - uses: Mattraks/delete-workflow-runs@v2.0.6 - with: - token: ${{ github.token }} - repository: ${{ github.repository }} - retain_days: ${{ github.event.inputs.days }} - keep_minimum_runs: ${{ github.event.inputs.minimum_runs }} diff --git a/.github/workflows/release-apk.yml b/.github/workflows/release-apk.yml deleted file mode 100644 index eb563eae..00000000 --- a/.github/workflows/release-apk.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Android CI Release - -on: - push: - branches: ['main'] - pull_request: - branches: ['main'] - workflow_dispatch: - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up JDK 21 - uses: actions/setup-java@v4.2.2 - with: - distribution: 'temurin' - java-version: '21' - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - - name: Build with Gradle - run: ./gradlew clean && ./gradlew assembleRelease - - - name: Upload release apk - uses: actions/upload-artifact@v4 - if: ${{ !github.head_ref }} - with: - name: apk-release - path: app/build/outputs/apk/release/app-release.apk - - - name: Upload mapping files - uses: actions/upload-artifact@v4 - if: ${{ !github.head_ref }} - with: - name: mapping - path: app/build/outputs/mapping