Skip to content

Commit

Permalink
FIxed the pipeline if derictory doesn't exist (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksSavelev authored Feb 27, 2024
1 parent 6b15833 commit d453c62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/updateLocalizations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
location="${file/$substring/localizations/}"
substring="/stringresources"
newLocation="${location/$substring//stringResources}"
if [ ! -d "$newLocation" ]; then
echo "$newLocation does not exist. Creating it..."
mkdir -p "$newLocation"
fi
cp $file $newLocation;
done;
- name: Commit and push changes
Expand Down Expand Up @@ -152,6 +156,10 @@ jobs:
fi
substring="visuals/"
location="${file/$substring/localizations/}"
if [ ! -d "$location" ]; then
echo "$location does not exist. Creating it..."
mkdir -p "$location"
fi
cp $location $file;
done;
- name: Commit and push new changes to submodules
Expand Down

0 comments on commit d453c62

Please sign in to comment.