This commit is contained in:
2025-07-12 13:21:53 -07:00
parent a5d80952b7
commit e6f976dd5a

View File

@@ -104,13 +104,15 @@ runs:
id: configure_find
run: |
# Configure the pattern and type based on the platform. Android is case insensitive.
if [[ "${{ inputs.platform }},,}" = "android" ]]; then
shopt -s nocasematch
if [[ "${{ inputs.platform }}" = "android" ]]; then
echo "pattern=*.apk" >> "$GITHUB_OUTPUT"
echo "type=f" >> "$GITHUB_OUTPUT"
else
echo "pattern=*" >> "$GITHUB_OUTPUT"
echo "type=d" >> "$GITHUB_OUTPUT"
fi
shopt -u nocasematch
shell: bash
- name: "Find Output Directory."
id: find_output_dir