Skip to content

Commit e240b38

Browse files
committed
Add swift-version to command flags
1 parent e8ce0e8 commit e240b38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ runs:
4848
run: brew install skiptools/skip/swift-android-toolchain@${{ inputs.swift-version }}
4949
shell: bash
5050
- name: Build Swift package for Android
51-
run: skip android build --build-tests --package-path ${{ inputs.package-path }} ${{ inputs.swift-build-flags }}
51+
run: skip android build --build-tests --package-path ${{ inputs.package-path }} --swift-version ${{ inputs.swift-version }} ${{ inputs.swift-build-flags }}
5252
shell: bash
5353
- name: Run Swift tests on Android emulator
5454
if: ${{ inputs.run-tests == 'true' }}
@@ -58,5 +58,5 @@ runs:
5858
emulator-boot-timeout: ${{ inputs.android-emulator-boot-timeout }}
5959
emulator-options: ${{ inputs.android-emulator-options }}
6060
arch: x86_64
61-
script: skip android test --package-path ${{ inputs.package-path }} ${{ inputs.swift-build-flags }} ${{ inputs.swift-test-flags }}
61+
script: skip android test --package-path ${{ inputs.package-path }} --swift-version ${{ inputs.swift-version }} ${{ inputs.swift-build-flags }} ${{ inputs.swift-test-flags }}
6262

0 commit comments

Comments
 (0)