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.
2 parents 2f75b06 + cd9e392 commit 4a15c91Copy full SHA for 4a15c91
README.md
@@ -118,6 +118,12 @@ Sets an output parameter.
118
119
Sets an environment variable for use in later steps.
120
121
+### Set summary
122
+
123
+**Signature**: `def set_summary(value)`
124
125
+Sets an environment variable to display as job summary.
126
127
### Debug
128
129
**Signature**: `debug(message)`
dist/util.py
@@ -20,6 +20,11 @@ def set_env(name, value):
20
print(f"{name}={_escape_data(value)}", file=env)
21
22
23
+def set_summary(value):
24
+ with open(os.getenv("GITHUB_STEP_SUMMARY"), "a") as env:
25
+ print(value, file=env)
26
27
28
def debug(message):
29
print(f"::debug::{_escape_data(message)}")
30
0 commit comments