From 2980a1e884be9591e5627f7aff686115bbd7ea6f Mon Sep 17 00:00:00 2001 From: M57 <41645758+Hy4ri@users.noreply.github.com> Date: Fri, 7 Aug 2026 23:40:00 +0300 Subject: [PATCH] ci(release): drop CI checks job from release workflow (#847) The release workflow ran a full CI job (ktlint, lint, tests) as a gate before building the release APK. CI for branches/PRs is already handled by the android.yml pipeline; the release gate is redundant on a tag push. Remove the ci job and the needs dependency so the release builds immediately on tag. Co-authored-by: M57 --- .github/workflows/release.yml | 51 ----------------------------------- 1 file changed, 51 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4afe055..5be2d4d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,60 +19,9 @@ permissions: packages: write jobs: - # ── Run full CI before building release ─────────────────────────────── - ci: - name: CI Checks - runs-on: ubuntu-latest - timeout-minutes: 15 - steps: - - uses: actions/checkout@v7 - - - name: Set up JDK 21 - uses: actions/setup-java@v5 - with: - distribution: temurin - java-version: '21' - - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v6 - with: - validate-wrappers: true - cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTED_KEY }} - - - name: Grant Execute Permission for Gradlew - run: chmod +x gradlew - - - name: Cache ktlint - id: cache-ktlint - uses: actions/cache@v6 - with: - path: ~/.local/bin/ktlint - key: ktlint-1.2.1 - - - name: Install ktlint - if: steps.cache-ktlint.outputs.cache-hit != 'true' - run: | - mkdir -p ~/.local/bin - curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.2.1/ktlint - chmod +x ktlint - mv ktlint ~/.local/bin/ - - - name: Add local bin to PATH - run: echo "$HOME/.local/bin" >> $GITHUB_PATH - - - name: ktlintCheck - run: ./gradlew ktlintCheck - - - name: lintDebug - run: ./gradlew lintDebug - - - name: test - run: ./gradlew test - # ── Build release APK ───────────────────────────────────────────────── build-release: name: Build Release APK - needs: ci runs-on: ubuntu-latest timeout-minutes: 15 steps: