You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
No problem. Just a request :)
Describe the solution you'd like?
Be able to have output to files
Use case:
I'm using a java program to process changed and deleted files in my workflow
So to be able to process the result from this action I use something like this
run: |
echo "${{ steps.changed-files.outputs.added_files }}" >> "$HOME/added_files.json"
echo "${{ steps.changed-files.outputs.copied_files }}" >> "$HOME/copied_files.json"
echo "${{ steps.changed-files.outputs.deleted_files }}" >> "$HOME/deleted_files.json"
./mvnw -U -B -q compile exec:java --file ./pom.xml
Would really like to be able to have this action write the files for me.
Resulting in files being written to disk:
$HOME/added_files.json with json content of steps.changed-files.outputs.added_files
$HOME/deleted_files.json with json content of steps.changed-files.outputs.deleted_files
etc.
Describe alternatives you've considered?
No response
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is this feature missing in the latest version?
Is your feature request related to a problem? Please describe.
No problem. Just a request :)
Describe the solution you'd like?
Be able to have output to files
Use case:
I'm using a java program to process changed and deleted files in my workflow
So to be able to process the result from this action I use something like this
run: |
echo "${{ steps.changed-files.outputs.added_files }}" >> "$HOME/added_files.json"
echo "${{ steps.changed-files.outputs.copied_files }}" >> "$HOME/copied_files.json"
echo "${{ steps.changed-files.outputs.deleted_files }}" >> "$HOME/deleted_files.json"
./mvnw -U -B -q compile exec:java --file ./pom.xml
Would really like to be able to have this action write the files for me.
Something like
Adding some new input parameters:
with:
output_files: true // default false
output_files_folder: $HOME // default $HOME
json: true
Resulting in files being written to disk:
$HOME/added_files.json with json content of steps.changed-files.outputs.added_files
$HOME/deleted_files.json with json content of steps.changed-files.outputs.deleted_files
etc.
Describe alternatives you've considered?
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: