9191 - name : Checkout
9292 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9393
94+ - name : Checkout checkout-sheet-kit-android
95+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
96+ with :
97+ repository : Shopify/checkout-sheet-kit-android
98+ ref : prototype/development
99+ path : checkout-sheet-kit-android
100+
94101 - name : Setup
95102 uses : ./.github/actions/setup
96103
@@ -101,6 +108,12 @@ jobs:
101108 distribution : ' zulu'
102109 java-version : ${{ env.JAVA_VERSION }}
103110
111+ - name : Publish Android SDK to Maven Local
112+ env :
113+ GRADLE_OPTS : -Xmx4g -XX:MaxMetaspaceSize=768m
114+ JAVA_HOME : ${{ steps.setup-java.outputs.path }}
115+ run : ./scripts/publish_android_snapshot ./checkout-sheet-kit-android
116+
104117 - name : Run Android tests
105118 timeout-minutes : 20
106119 env :
@@ -110,7 +123,7 @@ jobs:
110123 echo "JAVA_HOME: $JAVA_HOME"
111124 java -version
112125 javac -version
113- echo "STOREFRONT_DOMAIN=myshopify.com" > sample/.env
126+ cp sample/.env.example sample/.env
114127 yarn module build
115128 yarn sample test:android --no-daemon
116129
@@ -119,10 +132,19 @@ jobs:
119132 runs-on : macos-26-xlarge
120133 timeout-minutes : 20
121134 needs : [lint, test]
135+ env :
136+ SWIFT_SDK_PATH : ${{ github.workspace }}/checkout-sheet-kit-swift
122137 steps :
123138 - name : Checkout
124139 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
125140
141+ - name : Checkout checkout-sheet-kit-swift
142+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
143+ with :
144+ repository : Shopify/checkout-sheet-kit-swift
145+ ref : prototype/development
146+ path : checkout-sheet-kit-swift
147+
126148 - name : Display Current Xcode Information
127149 run : |
128150 echo "Xcode Path: $(xcode-select -p)"
@@ -133,8 +155,21 @@ jobs:
133155 - name : Setup
134156 uses : ./.github/actions/setup
135157
158+ - name : Setup sample environment
159+ run : |
160+ cp sample/.env.example sample/.env
161+ yarn env-to-xcconfig
162+
136163 - name : Install cocoapods
137164 uses : ./.github/actions/install-cocoapods
165+ continue-on-error : true
166+
167+ - name : Update pods for local Swift SDK
168+ run : |
169+ cd sample
170+ bundle install
171+ cd ios
172+ bundle exec pod install --repo-update
138173
139174 - name : Run Swift tests
140175 run : |
0 commit comments