Skip to content

Commit 82f113a

Browse files
committed
wf: add different greetings for different platforms
1 parent 37d03e2 commit 82f113a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

software/src_python/hello.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import sys
22
import click
33

4-
print("Hello, " + sys.argv[1] + "!")
4+
print("Hello from Python, " + sys.argv[1] + "!")

workflow/src/main.tpl.tengo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ wf.body(func(args) {
88
software(assets.importSoftware("@platforma-open/my-org.block-boilerplate.software:hello-world-python")).
99
arg(args.name).
1010
saveStdoutContent().
11-
cacheHours(12).
1211
run()
1312
pythonMessage := python.getStdoutFileContent()
1413

15-
tengoMessage := "Hello, " + args.name + "!"
14+
tengoMessage := "Hello from Tengo, " + args.name + "!"
1615

1716
return {
1817
outputs: {

0 commit comments

Comments
 (0)