File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 74
74
plist_secret : ${{ secrets.plist_secret }}
75
75
runs-on : macos-15
76
76
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 }}
77
81
- uses : actions/checkout@v4
78
82
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
79
83
- name : Xcode
@@ -101,11 +105,11 @@ jobs:
101
105
${{ inputs.product }} \
102
106
${{ inputs.run_tests }} \
103
107
${{ 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/
You can’t perform that action at this time.
0 commit comments