From abcb6bf31ff9c86c4c1f3edf0b184dae8159f812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 13 Dec 2025 21:39:15 +0100 Subject: Prepare used artifacts within the prepareJob function Changelog: Prepare used artifacts for the `shell` command --- test/asset/shell/minici.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 test/asset/shell/minici.yaml (limited to 'test/asset/shell/minici.yaml') diff --git a/test/asset/shell/minici.yaml b/test/asset/shell/minici.yaml new file mode 100644 index 0000000..b980161 --- /dev/null +++ b/test/asset/shell/minici.yaml @@ -0,0 +1,28 @@ +repo r1: +repo r2: + +job generate: + checkout: null + + shell: + - echo "content 1" > f1 + - mkdir -p dir + - echo "content 2" > dir/f2 + + artifact file: + path: f1 + + artifact dir: + path: dir + + +job combine: + checkout: + - repo: r1 + dest: d1 + - repo: r2 + dest: d2 + + uses: + - generate.file + - generate.dir -- cgit v1.2.3