Workflow change

This commit is contained in:
Michel Roegl-Brunner 2025-05-06 14:30:26 +02:00
parent 517d629c88
commit 3ae2d92363

View File

@ -77,10 +77,11 @@ jobs:
if [[ ! -f "$json_file" ]]; then if [[ ! -f "$json_file" ]]; then
if [[ "$json_file" = *alpine* ]]; then if [[ "$json_file" = *alpine* ]]; then
stripped_name="${json_file#alpine-}" stripped_name="${json_file#alpine-}"
echo $stripped_name
if [[ -f "frontend/public/json/$stripped_name" ]]; then if [[ -f "frontend/public/json/$stripped_name" ]]; then
echo "files_found=true" >> $GITHUB_OUTPUT echo "files_found=true" >> $GITHUB_OUTPUT
else else
echo "json file not found." echo "json file striped not found."
echo "files_found=false" >> $GITHUB_OUTPUT echo "files_found=false" >> $GITHUB_OUTPUT
echo "missing=$json_file" >> $GITHUB_OUTPUT echo "missing=$json_file" >> $GITHUB_OUTPUT
fi fi