@a5c-ai/triggers 5.0.1-staging.f6da8cd208d2 → 5.0.1-staging.fa900f15bc4d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action.yml +3 -2
- package/package.json +1 -1
package/action.yml
CHANGED
|
@@ -227,10 +227,11 @@ runs:
|
|
|
227
227
|
esac
|
|
228
228
|
fi
|
|
229
229
|
|
|
230
|
-
# Copy process file if provided
|
|
230
|
+
# Copy process file if provided (skip if already in target dir)
|
|
231
231
|
if [ -n "$INPUT_PROCESS_FILE" ]; then
|
|
232
232
|
mkdir -p .a5c/processes
|
|
233
|
-
|
|
233
|
+
TARGET=".a5c/processes/$(basename "$INPUT_PROCESS_FILE")"
|
|
234
|
+
[ "$(realpath "$INPUT_PROCESS_FILE" 2>/dev/null)" = "$(realpath "$TARGET" 2>/dev/null)" ] || cp "$INPUT_PROCESS_FILE" .a5c/processes/
|
|
234
235
|
fi
|
|
235
236
|
|
|
236
237
|
- name: Install plugins (legacy)
|
package/package.json
CHANGED