Skip to content

Commit f28f029

Browse files
author
Nekkochan0x0007
committed
[release] Patch for version 2025.10.12
1 parent f26e6ff commit f28f029

1 file changed

Lines changed: 22 additions & 11 deletions

File tree

.github/workflows/release_main.yaml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,43 @@ jobs:
1313
build:
1414
if: "contains(github.event.head_commit.message, '[release]')"
1515
name: Build & Release
16-
runs-on: macos-latest
17-
16+
runs-on: ubuntu-latest
17+
1818
steps:
1919
- uses: actions/checkout@v3
2020

2121
# Add Java 21 setup step
2222
- name: Setup Java
2323
uses: actions/setup-java@v3
2424
with:
25-
distribution: 'temurin'
26-
java-version: '21'
27-
25+
distribution: "temurin"
26+
java-version: "21"
27+
28+
- name: Cache Gradle & Pub
29+
uses: actions/cache@v3
30+
with:
31+
path: |
32+
~/.pub-cache
33+
~/.gradle/caches
34+
~/.gradle/wrapper
35+
key: ${{ runner.os }}-gradle-pub-${{ hashFiles('**/pubspec.lock') }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
36+
restore-keys: |
37+
${{ runner.os }}-gradle-pub-
38+
2839
- name: Create necessary files
2940
run: |
3041
echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > android/app/google-services.json
3142
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/app/rel.jks
32-
43+
3344
- name: Setup Flutter
3445
uses: subosito/flutter-action@v2
3546
with:
36-
flutter-version: '3.35.5'
37-
channel: 'stable'
38-
47+
flutter-version: "3.38.7"
48+
channel: "stable"
49+
3950
- name: Get dependencies
4051
run: flutter pub get
41-
52+
4253
- name: Build APK
4354
env:
4455
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
@@ -52,7 +63,7 @@ jobs:
5263
# KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
5364
# STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
5465
# run: flutter build appbundle --release --obfuscate --split-debug-info=build/app/outputs/symbols
55-
66+
5667
- name: Generate Release Tag
5768
id: tag
5869
run: |

0 commit comments

Comments
 (0)