-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Thank you for writing this cool GitHub action. I've been putting off seeing how it works until now, but I feel I now have a fairly good idea of it, along with some ways to use this to do something that was manual for me until this point 🏆 to you all.
Describe the bug
When generating or adding files to the filesystem in a github action, the files will not be deployed via SVN unless they are comitted to the repo.
Steps to Reproduce
- Before running this action,
touchorcatto create a file - Run this action
- Notice that the new file is missing
Expected behavior
Files added during release action are transferred automatically for principal of least surprise.
Additional context
I have a plugin with a non-trivial build step. It uses composer to get dependencies and then copies them into a folder.
At first I was blaming the php-actions/composer, but I added a step to check ls -lhaR and it showed my files. It was only after combing every line I realised what this was doing 😆. I Think it's kind of genius to use git archive in this way, but it does lead to user surprise so should likely be documented.