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 <hy4ri@users.noreply.github.com>
This commit is contained in:
M57andM57 authored and GitHub committed 2026-08-07 23:40:00 +03:00
1 parent 9e741913fc
commit 2980a1e884
1 file changed
-51
-51
View File
@@ -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: