Fix
This commit is contained in:
@@ -104,13 +104,15 @@ runs:
|
|||||||
id: configure_find
|
id: configure_find
|
||||||
run: |
|
run: |
|
||||||
# Configure the pattern and type based on the platform. Android is case insensitive.
|
# 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 "pattern=*.apk" >> "$GITHUB_OUTPUT"
|
||||||
echo "type=f" >> "$GITHUB_OUTPUT"
|
echo "type=f" >> "$GITHUB_OUTPUT"
|
||||||
else
|
else
|
||||||
echo "pattern=*" >> "$GITHUB_OUTPUT"
|
echo "pattern=*" >> "$GITHUB_OUTPUT"
|
||||||
echo "type=d" >> "$GITHUB_OUTPUT"
|
echo "type=d" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
shopt -u nocasematch
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: "Find Output Directory."
|
- name: "Find Output Directory."
|
||||||
id: find_output_dir
|
id: find_output_dir
|
||||||
|
|||||||
Reference in New Issue
Block a user