Skip to content

Commit

Permalink
Also specify architecture for ios gradle tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Jun 11, 2024
1 parent 52033fc commit acdfded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
uses: ./.github/workflows/setup_macos.yaml
with:
gradleTask: compileKotlinIosSimulatorArm64
gradleTask: compileKotlinIos${{ runner.arch == 'X86' && 'X86' || runner.arch == 'X64' && 'x86_64' || runner.arch == 'ARM' && 'SimulatorArm32' || `SimulatorArm64` }}

lint:
needs: build
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:


- name: run iOS tests
run: ./gradlew :${{ matrix.module }}:iosSimulatorArm64Test
run: ./gradlew :${{ matrix.module }}:ios${{ runner.arch == 'X86' && 'X86' || runner.arch == 'X64' && 'x86_64' || runner.arch == 'ARM' && 'SimulatorArm32' || `SimulatorArm64` }}Test

0 comments on commit acdfded

Please sign in to comment.