Skip to content

Commit

Permalink
[UPDATE] Merge 'develop' into 'feature/new-page'
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalehchylin committed Jun 6, 2024
2 parents 697a713 + c9ee8ca commit 59fcef9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ jobs:
os: macos

build:
runs-on: macos-latest
runs-on: macos-13
needs: test

steps:
- name: Checkout
uses: actions/checkout@v3.5.2

- name: Setup Xamarin
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
- name: NuGet Cache
uses: actions/cache@v3.3.1
Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,17 @@ jobs:
value: ${{ env.APP_BUILD_NUMBER_INCREMENTED }}

build_apk:
runs-on: macos-latest
runs-on: macos-13
environment: github-actions-release
needs: prepare_build
steps:
- name: Checkout
uses: actions/checkout@v3.5.2

- name: Setup Xamarin
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
- name: NuGet Cache
uses: actions/cache@v3.3.1
Expand Down Expand Up @@ -119,12 +124,17 @@ jobs:
path: ${{ env.ARTIFACTS_DIRECTORY }}/by.bntu.educats_${{ needs.prepare_build.outputs.app_version }}.${{ needs.prepare_build.outputs.incremented_build_number }}.apk

build_aab:
runs-on: macos-latest
runs-on: macos-13
environment: github-actions-release
needs: prepare_build
steps:
- name: Checkout
uses: actions/checkout@v3.5.2

- name: Setup Xamarin
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
- name: NuGet Cache
uses: actions/cache@v3.3.1
Expand Down Expand Up @@ -171,12 +181,17 @@ jobs:
path: ${{ env.ARTIFACTS_DIRECTORY }}/by.bntu.educats_${{ needs.prepare_build.outputs.app_version }}.${{ needs.prepare_build.outputs.incremented_build_number }}.aab

build_ipa:
runs-on: macos-latest
runs-on: macos-13
environment: github-actions-release
needs: prepare_build
steps:
- name: Checkout
uses: actions/checkout@v3.5.2

- name: Setup Xamarin
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
- name: NuGet Cache
uses: actions/cache@v3.3.1
Expand Down
2 changes: 1 addition & 1 deletion source/EduCATS.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="by.bntu.educats" android:versionName="2.0.1" android:versionCode="1">
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="33" />
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="33" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Expand Down
2 changes: 1 addition & 1 deletion source/EduCATS.iOS/EduCATS.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<OutputPath>bin\iPhone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<MtouchArch>ARM64</MtouchArch>
<CodesignKey>iPhone Distribution</CodesignKey>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchExtraArgs>--optimize=experimental-xforms-product-type</MtouchExtraArgs>
Expand Down
12 changes: 0 additions & 12 deletions source/EduCATS.iOS/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,18 +293,6 @@
"contentHash": "WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A=="
}
},
"Xamarin.iOS,Version=v1.0/win-arm64": {
"SkiaSharp.NativeAssets.iOS": {
"type": "Transitive",
"resolved": "2.88.6",
"contentHash": "j+Nv2cKDb6YZDebtIWjaypG7rngEw7xLvB0WlCoIpUShop0jPLutoqiPx2r4FFt72egzVhUrUn/rlyL7EeYpTA=="
},
"System.Security.Cryptography.Cng": {
"type": "Transitive",
"resolved": "4.5.0",
"contentHash": "WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A=="
}
},
"Xamarin.iOS,Version=v1.0/win-x64": {
"SkiaSharp.NativeAssets.iOS": {
"type": "Transitive",
Expand Down

0 comments on commit 59fcef9

Please sign in to comment.