fix: check files using abs path

(the docker user is changed due to feat-ssh pr)
This commit is contained in:
wancat committed 2025-02-15 20:42:50 +08:00
1 parent fab02d03a9
commit 6692ae2b9b
4 files changed
+28 -28

No files matched your search

+4 -4
View File
@@ -164,7 +164,7 @@ stages:
command:
- ^cp hello.txt hello2.txt$
files:
- path: hello2.txt
- path: /home/commander/hello2.txt
type: file
exceptions:
- condition:
@@ -224,7 +224,7 @@ stages:
command:
- ^cp world.txt world2.txt$
files:
- path: world2.txt
- path: /home/commander/world2.txt
type: file
exceptions:
- condition:
@@ -292,9 +292,9 @@ stages:
command:
- ^cp
files:
- path: notes2
- path: /home/commander/notes2
type: directory
- path: notes2/note.txt
- path: /home/commander/notes2/note.txt
type: file
exceptions:
- condition: