File tree Expand file tree Collapse file tree 3 files changed +29
-7
lines changed
Expand file tree Collapse file tree 3 files changed +29
-7
lines changed Original file line number Diff line number Diff line change 11name : build
22
3+
34on :
45 push :
56 branches :
89 - ' feature/**'
910 pull_request :
1011 branches : [ main ]
12+ workflow_dispatch :
13+
1114
1215jobs :
1316
Original file line number Diff line number Diff line change @@ -20,6 +20,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
2121### Fixed
2222
23+
24+ ## [ v0.2.1] - 2025-03-08
25+
26+ ### Added
27+
28+ * Add ` workflow_dispatch ` trigger to the Github Actions workflow.
29+
30+
31+ ### Removed
32+ * Remove ` GITHUB_OUTPUT ` file writing.
33+ * Remove raising an additional exception when ` n_failed ` is non zero.
34+
35+
36+ ## [ v0.2.0] - 2025-03-08
37+
38+ ### Added
39+
40+ * Write ` feedback ` to ` $GITHUB_STEP_SUMMARY ` if exists.
41+ This will show up under the Github Actions job graph.
42+
43+
2344## [ v0.1.10] - 2025-02-26
2445
2546### Changed
Original file line number Diff line number Diff line change @@ -52,13 +52,11 @@ def main() -> None:
5252 print (feedback )
5353
5454 # Write the feedback to the environment file
55- if os .getenv ('GITHUB_OUTPUT' , False ):
56- with open (os .environ ['GITHUB_OUTPUT' ], 'a' , encoding = 'utf-8' ) as f :
57- out_string = f'feedback<<EOF\n { feedback } \n EOF'
58- logging .info (f"Writing to GITHUB_OUTPUT: { f .write (out_string )} characters" )
59-
60- if not b_fail_expected :
61- assert n_failed == 0 , f'{ n_failed } failed tests'
55+ if os .getenv ('GITHUB_STEP_SUMMARY' , False ):
56+ with open (os .environ ['GITHUB_STEP_SUMMARY' ], 'a' , encoding = 'utf-8' ) as f :
57+ # Write the feedback to the Gihtub Job Summary
58+ # expecting mardown format
59+ f .write (feedback )
6260 elif b_fail_expected :
6361 assert n_failed > 0 , 'No failed tests'
6462 else :
You can’t perform that action at this time.
0 commit comments