Workflow change
This commit is contained in:
parent
517d629c88
commit
3ae2d92363
3
.github/workflows/move-to-main-repo.yaml
vendored
3
.github/workflows/move-to-main-repo.yaml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user