Skip to content

Commit cd517c4

Browse files
committed
test
1 parent 61d63fa commit cd517c4

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/common_quickstart.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
plist_secret: ${{ secrets.plist_secret }}
7575
runs-on: macos-15
7676
steps:
77+
- id: lowercase_product
78+
run: echo "lowercase_product=${${{ inputs.product }},,}" >> $GITHUB_OUTPUT
79+
- name: Remove data before upload.
80+
run: echo hello_${{ steps.lowercase_product.outputs.lowercase_product }}
7781
- uses: actions/checkout@v4
7882
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
7983
- name: Xcode
@@ -101,11 +105,11 @@ jobs:
101105
${{ inputs.product }} \
102106
${{ inputs.run_tests }} \
103107
${{ inputs.quickstart_type }}
104-
# TODO: Add upload on fialure.
105-
# TODO: Remove the decrypted repo secret.
106-
# - name: Upload raw logs if failed.
107-
# if: ${{ failure() }}
108-
# uses: actions/upload-artifact@v4
109-
# with:
110-
# name:
111-
# path:
108+
- name: Remove data before upload.
109+
if: ${{ failure() }}
110+
run: scripts/remove_data.sh ${{ steps.lowercase_product.outputs.lowercase_product }}
111+
- uses: actions/upload-artifact@v4
112+
if: ${{ failure() }}
113+
with:
114+
name: quickstart_artifacts_${{ steps.lowercase_product.outputs.lowercase_product }}
115+
path: quickstart-ios/

0 commit comments

Comments
 (0)