Skip to content

Commit

Permalink
Pass the for loop removing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud authored May 15, 2024
1 parent 6e39c21 commit 87515be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Copy to tmp before retry
run: |
# Remove spaces
(cd ${{ inputs.directory }}/info && for file in *; do [[ "$file" == *" "* ]] && mv "$file" "${file// /}"; done)
(cd ${{ inputs.directory }}/info && for file in *; do [[ "$file" == *" "* ]] && mv "$file" "${file// /}"; done) || true
cp -r ${{ inputs.directory }}/info /tmp/${{ inputs.directory }}/
- name: Push info
Expand Down

0 comments on commit 87515be

Please sign in to comment.