test
This commit is contained in:
@@ -55,7 +55,10 @@ runs:
|
||||
|
||||
# Read from shared file instead of using GitHub Actions output
|
||||
all_skins_file="/tmp/all_skins_shared.json"
|
||||
mapfile -t all_skins < <(jq -r '.[]' "$all_skins_file")
|
||||
temp_all_skins="/tmp/all_skins_raw_$RANDOM.txt"
|
||||
jq -r '.[]' "$all_skins_file" > "$temp_all_skins"
|
||||
mapfile -t all_skins < "$temp_all_skins"
|
||||
rm -f "$temp_all_skins"
|
||||
|
||||
force_rebuild="${{ inputs.force_rebuild }}"
|
||||
target_skins="${{ inputs.target_skins }}"
|
||||
@@ -75,8 +78,10 @@ runs:
|
||||
# Use a temporary file to safely handle special characters
|
||||
temp_target_file="/tmp/target_skins_$RANDOM.json"
|
||||
printf '%s' "$target_skins" > "$temp_target_file"
|
||||
mapfile -t skins < <(jq -r '.[]' "$temp_target_file")
|
||||
rm -f "$temp_target_file"
|
||||
temp_target_raw="/tmp/target_skins_raw_$RANDOM.txt"
|
||||
jq -r '.[]' "$temp_target_file" > "$temp_target_raw"
|
||||
mapfile -t skins < "$temp_target_raw"
|
||||
rm -f "$temp_target_file" "$temp_target_raw"
|
||||
echo " ✓ Found ${#skins[@]} skin(s) from target_skins input"
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user