File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -325,17 +325,19 @@ jobs:
325325 run : |
326326 mkdir -p ${{ runner.temp }}/asc_key
327327 echo "${{ secrets.APP_STORE_CONNECT_KEY_P8 }}" | base64 --decode > ${{ runner.temp }}/asc_key/AuthKey.p8
328+ cat > ${{ runner.temp }}/asc_key/api_key.json <<EOF
329+ {
330+ "key_id": "${{ secrets.APP_STORE_CONNECT_KEY_ID }}",
331+ "issuer_id": "${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}",
332+ "key_filepath": "${{ runner.temp }}/asc_key/AuthKey.p8"
333+ }
334+ EOF
328335
329336 - name : Upload to TestFlight
330337 if : ${{ env.testflight_ready == 'true' }}
331- env :
332- APP_STORE_CONNECT_KEY_ID : ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
333- APP_STORE_CONNECT_ISSUER_ID : ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
334338 run : |
335339 fastlane pilot upload \
336- --api_key_path "${{ runner.temp }}/asc_key/AuthKey.p8" \
337- --api_key_id "$APP_STORE_CONNECT_KEY_ID" \
338- --api_key_issuer_id "$APP_STORE_CONNECT_ISSUER_ID" \
340+ --api_key_path "${{ runner.temp }}/asc_key/api_key.json" \
339341 --ipa "${{ env.output }}/OpenList-Mobile.ipa" \
340342 --skip_waiting_for_build_processing true
341343
You can’t perform that action at this time.
0 commit comments