dmnemec / copy_file_to_another_repo_action

This GitHub Action copies a file from the current repository to a location in another repository
Apache License 2.0
183 stars 206 forks source link

Changed: How to call variables in shell script to literal. #22

Open task-k opened 3 years ago

task-k commented 3 years ago

Summary

Changed how to call variables in shell script to literal . it's for cp command wildcard enable.

Detail

In the code so far cp -R 'your_dir/*' target-dir A single quote was inserted like this, it became a string, and it wasn't working.

image

Depending on this change.

image

dmnemec commented 3 years ago

Feel like I might have added those quotes for something like that problem. I'll need to setup some tests on this to make sure it's working for all use-cases.