We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c83d24 commit 80a2826Copy full SHA for 80a2826
.github/workflows/examples.yml
@@ -67,3 +67,18 @@ jobs:
67
68
- name: Get result
69
run: echo "${{steps.script.outputs.result}}"
70
+
71
+ oh-hi-mark-greeter:
72
+ runs-on: ubuntu-latest
73
+ steps:
74
+ - uses: gaggle/elixir_script@v0
75
+ id: script
76
+ with:
77
+ script: |
78
+ defmodule Greeter do
79
+ def greet(name), do: "Oh hi #{name}!"
80
+ end
81
+ Greeter.greet("Mark")
82
83
+ - name: Get result
84
+ run: echo "${{steps.script.outputs.result}}"
test/e2e_data.exs
@@ -30,5 +30,14 @@
30
IO.puts("Hello world")
31
"result"
32
"""
33
+ },
34
+ %{
35
+ name: "Oh hi Mark Greeter",
36
+ script: """
37
38
+ def greet(name), do: "Oh hi \#{name}!"
39
40
41
+ """
42
}
43
]
0 commit comments