We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46d127 commit de0cdfaCopy full SHA for de0cdfa
1 file changed
action.yml
@@ -120,8 +120,12 @@ runs:
120
run: |
121
SOURCE_PATH="${{ inputs.inputs-path }}"
122
DESTINATION_PATH="${{ env.PROJECT_WORK_DIRECTORY }}/input/"
123
+ mkdir -p "$DESTINATION_PATH"
124
+
125
if [ -d "$SOURCE_PATH" ]; then
126
cp -r "$SOURCE_PATH"/* "$DESTINATION_PATH"
127
+ elif [ -f "$SOURCE_PATH" ]; then
128
+ cp "$SOURCE_PATH" "$DESTINATION_PATH"
129
fi
130
131
- name: Run the pipelines
0 commit comments