summaryrefslogtreecommitdiff
path: root/test/asset/publish/from_self.yaml
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-11-13 22:59:11 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-11-13 22:59:11 +0100
commitd6ff11543a3897dd2b38ed121f958ef0050e272c (patch)
treed37f1c58a214f9c3db84b229af7c832e5d5373a6 /test/asset/publish/from_self.yaml
parente96ecb1ce8f81b3a256f6982c5da1aa7cbeb4e59 (diff)
Support publishing artifacts in the same job they're created
Diffstat (limited to 'test/asset/publish/from_self.yaml')
-rw-r--r--test/asset/publish/from_self.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/asset/publish/from_self.yaml b/test/asset/publish/from_self.yaml
new file mode 100644
index 0000000..92d10e9
--- /dev/null
+++ b/test/asset/publish/from_self.yaml
@@ -0,0 +1,22 @@
+destination dest:
+
+
+job gen_publish:
+ checkout:
+
+ shell:
+ - touch x
+ - touch y
+
+ artifact x:
+ path: x
+
+ artifact y:
+ path: y
+
+ publish:
+ - to: dest
+ artifact: x
+
+ - to: dest
+ artifact: gen_publish.y