diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index a7b5a25..4b8ad3a 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java + uses: actions/setup-java@v3.13.0 with: distribution: corretto java-version: 18 @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java + uses: actions/setup-java@v3.13.0 with: distribution: corretto java-version: 18 @@ -57,7 +57,7 @@ jobs: uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java + uses: actions/setup-java@v3.13.0 with: distribution: corretto java-version: 18 @@ -76,7 +76,9 @@ jobs: rm -f iosApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved xcodebuild -resolvePackageDependencies -project iosApp.xcodeproj xcodebuild build-for-testing \ - -scheme "EAPlayers" \ + -scheme "iosApp" \ -project iosApp.xcodeproj \ - -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.4' \ - -allowProvisioningUpdates \ No newline at end of file + -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' \ + -allowProvisioningUpdates \ + -configuration Debug \ + DEVELOPMENT_TEAM=${{ secrets.APPLE_TEAM_ID }} # Reference the GitHub secret here diff --git a/README.md b/README.md index 8d4abc1..8a00d1b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ EAPlayers is a Kotlin Multiplatform project that leverages **Compose Multiplatform** for both Android and iOS to provide a fully native mobile app experience. The project uses [EA's Drop API](https://drop-api.ea.com) to fetch player information. +![GitHub Actions build status](https://github.com/kaszabimre/EAPlayers/actions/workflows/PR.yml/badge.svg) + ![iOS](https://img.shields.io/badge/iOS-000000?style=for-the-badge&logo=ios&logoColor=white) ![Android](https://img.shields.io/badge/Android-3DDC84?style=for-the-badge&logo=android&logoColor=white) ![Kotlin](https://img.shields.io/badge/Kotlin-0095D5?&style=for-the-badge&logo=kotlin&logoColor=white)