From 5e2bfda349dada6977739f82c21abf4c6f1713a9 Mon Sep 17 00:00:00 2001 From: Nabil Mohammed Nalakath Date: Sun, 26 Apr 2026 03:21:03 +0530 Subject: [PATCH] ci: upgrade github actions and update branch triggers --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7178b11..c399db7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,10 +2,10 @@ name: 🛠 Android CI / Build & Release APK on: push: - branches: [ main ] + branches: [ main, master, upgrade ] tags: [ 'v*.*.*' ] pull_request: - branches: [ main ] + branches: [ main, master, upgrade ] permissions: contents: write # allow creating/updating Releases & uploading assets @@ -21,17 +21,17 @@ jobs: steps: - name: 📂 Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: 🚀 Cache pub deps - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: ~/.pub-cache key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }} restore-keys: ${{ runner.os }}-pub- - name: ☕️ Setup Java (Temurin 17) - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: distribution: temurin java-version: '17' @@ -58,7 +58,7 @@ jobs: # ─────────────── ONLY ON TAGS ─────────────── - name: 🏷️ Create or update Release if: startsWith(github.ref, 'refs/tags/v') - uses: ncipollo/release-action@v1.16.0 + uses: ncipollo/release-action@v1 with: tag: ${{ github.ref_name }} name: Release ${{ github.ref_name }}