File tree Expand file tree Collapse file tree 2 files changed +7788
-6
lines changed Expand file tree Collapse file tree 2 files changed +7788
-6
lines changed Original file line number Diff line number Diff line change @@ -69,22 +69,24 @@ jobs:
69
69
compression-level : 0
70
70
name : ${{ steps.paths.outputs.artifact-name }}
71
71
path : ${{ steps.paths.outputs.artifact-path }}
72
- - name : Install SDK Locally
73
- run :
72
+ - name : Install SDK
73
+ run : |
74
74
${{ steps.paths.outputs.swift-path }} sdk install ${{ steps.paths.outputs.artifact-path }}
75
+ ${{ steps.paths.outputs.swift-path }} sdk configure --show-configuration $(${{ steps.paths.outputs.swift-path }} sdk list | head -n 1) x86_64-swift-android
75
76
- name : Build Demo Project
76
77
run : |
77
- cd $RUNNER_TEMP
78
+ cd ${{ runner.temp }}
78
79
mkdir DemoProject
79
80
cd DemoProject
80
81
${{ steps.paths.outputs.swift-path }} --version
81
82
${{ steps.paths.outputs.swift-path }} package init
82
- ${{ steps.paths.outputs.swift-path }} build --build-tests --sdk -- swift-sdk x86_64-unknown-linux-android28
83
+ ${{ steps.paths.outputs.swift-path }} build --build-tests --swift-sdk x86_64-swift-android
83
84
- name : Test Swift Package on Android
84
85
# TODO: need to implement installed-sdk option in swift-android-action
85
86
if : false
86
87
uses : skiptools/swift-android-action@main
87
88
with :
88
- package-path : $RUNNER_TEMP/DemoProject
89
- installed-sdk : aarch64-unknown-linux-android28
89
+ package-path : ${{ runner.temp }}/DemoProject
90
+ installed-sdk : x86_64-swift-android
91
+ installed-swift : ${{ steps.paths.outputs.swift-path }}
90
92
You can’t perform that action at this time.
0 commit comments