File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -128,19 +128,18 @@ jobs:
128128 EXTRA : ${{ inputs.more-ignore-paths }}
129129 run : |
130130 set -euo pipefail; echo "now: $(date -u +"%Y-%m-%dT%H:%M:%S.%3N")"
131-
132131 python -c '
133- import os, json
132+ import os
134133
135134 base = [ln.strip() for ln in os.environ["BASE"].splitlines() if ln.strip()]
136135 extra = [ln.strip() for ln in os.environ["EXTRA"].splitlines() if ln.strip()]
137136
138- combined = base + extra
137+ combined_str = "\n".join( base + extra)
139138
140- with open(os.environ["GITHUB_OUTPUT"], "a") as f:
139+ with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8" ) as f:
141140 f.write("value<<EOF\n")
142- f.write(combined_str + "\n" )
143- f.write("EOF \n")
141+ f.write(combined_str)
142+ f.write("\nEOF \n")
144143 '
145144
146145 - name : Determine next version
You can’t perform that action at this time.
0 commit comments