File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 # keystore-store-password: ${{ secrets.KEYSTORE_STORE_PASSWORD }}
4444 # keystore-key-alias: 'your-key-alias'
4545 # keystore-key-password: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
46- # keystore-path: 'tools/buildtools/upload-key.keystore' # Optional: custom keystore path
46+ # keystore-path: 'tools/buildtools/upload-key.keystore' # Optional: for custom keystore locations
4747```
4848
4949## Inputs
Original file line number Diff line number Diff line change @@ -205,7 +205,10 @@ runs:
205205 if : ${{ !env.ARTIFACT_URL && inputs.sign }}
206206 run : |
207207 KEYSTORE_TARGET_PATH="$ANDROID_SOURCE_DIR/$APP_NAME/${{ inputs.keystore-path }}"
208- mkdir -p "$(dirname "$KEYSTORE_TARGET_PATH")"
208+ mkdir -p "$(dirname "$KEYSTORE_TARGET_PATH")" || {
209+ echo "Failed to create keystore directory: $(dirname "$KEYSTORE_TARGET_PATH")"
210+ exit 1
211+ }
209212 if [ -n "${{ inputs.keystore-file }}" ]; then
210213 cp "${{ inputs.keystore-file }}" "$KEYSTORE_TARGET_PATH"
211214 else
You can’t perform that action at this time.
0 commit comments