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

Not updated for a long time so i created a fork #76

Closed dobbelina closed 1 year ago

dobbelina commented 1 year ago

I have made a fork with some additions that i think was lacking as this repo haven't been updated for a long time. actions/checkout@v2 is deprecated so i use actions/checkout@v3

Added delete_existing: true [optional], that deletes all the existing files in the destination folder, before copying over the new files, that way the destination will always be identical to the source. That is a prerequisite for me using this action. Thanks @jameslounds for the inspiration on this addition

Have also added: Multiple source files/folders separated by comma "file1.txt,file2.txt" with code that iterates the input files/folders.