Skip to content

Commit

Permalink
Update apple
Browse files Browse the repository at this point in the history
  • Loading branch information
phamtien1709 committed Nov 14, 2024
1 parent 73924eb commit c79e46d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
- name: Set matrix
id: set-matrix
run: |
MATRIX="[{\"format\":\"IPA\",\"name\":\"macos-14\",\"platform\":\"IOS\"},{\"format\":\"APK\",\"name\":\"ubuntu-22.04\",\"platform\":\"ANDROID\"}]"
MATRIX="[{\"format\":\"IPA\",\"name\":\"macos-latest\",\"platform\":\"IOS\"},{\"format\":\"APK\",\"name\":\"ubuntu-22.04\",\"platform\":\"ANDROID\"}]"
if [[ "$REF_NAME" =~ "prd" ]]; then
MATRIX="[{\"format\":\"IPA\",\"name\":\"macos-14\",\"platform\":\"IOS\"},{\"format\":\"APK\",\"name\":\"ubuntu-22.04\",\"platform\":\"ANDROID\"},{\"format\":\"AAB\",\"name\":\"ubuntu-22.04\",\"platform\":\"ANDROID\"}]"
MATRIX="[{\"format\":\"IPA\",\"name\":\"macos-latest\",\"platform\":\"IOS\"},{\"format\":\"APK\",\"name\":\"ubuntu-22.04\",\"platform\":\"ANDROID\"},{\"format\":\"AAB\",\"name\":\"ubuntu-22.04\",\"platform\":\"ANDROID\"}]"
fi
echo "value=$MATRIX" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -187,11 +187,11 @@ jobs:
with:
version: 1.15.2

# - name: Select Xcode
# if: matrix.platform == 'IOS'
# uses: maxim-lobanov/setup-xcode@v1
# with:
# xcode-version: '16.0'
- name: Select Xcode
if: matrix.platform == 'IOS'
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.0'

# NOTE: install libs
- name: Cache node_modules
Expand Down

0 comments on commit c79e46d

Please sign in to comment.