Hotfix: Build app ios failed on CI/CD

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 4dafebe684f928819190db06808cf3f489d150ae)
(cherry picked from commit 121a88d5eab5a4072c5f93ad58a325c07227a6e2)
This commit is contained in:
dab246
2024-02-05 13:27:04 +07:00
committed by Dat H. Pham
parent 8a2fb81ff0
commit cb75677e28
2 changed files with 23 additions and 3 deletions
+11 -1
View File
@@ -5,6 +5,10 @@ on:
name: Release
env:
FLUTTER_VERSION: 3.16.0
XCODE_VERSION: ^15.0.1
jobs:
release:
name: Release
@@ -28,7 +32,7 @@ jobs:
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.0"
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: "stable"
cache: true
cache-key: deps-${{ hashFiles('**/pubspec.lock') }} # optional, change this to force refresh cache
@@ -53,6 +57,12 @@ jobs:
distribution: "temurin"
java-version: "11"
- name: Select Xcode version
if: matrix.os == 'ios'
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ env.XCODE_VERSION }}
- name: Setup Android environment
if: matrix.os == 'android'
env: