File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155
155
library_type=$1
156
156
language=$2
157
157
158
- output_file="$output_path/$library_type- $language.txt"
158
+ output_file="$output_path/$library_type+ $language.txt"
159
159
160
160
path_prefix="../test/$library_type/$language"
161
161
target_path_new_version="$path_prefix/new-version"
@@ -208,12 +208,10 @@ jobs:
208
208
209
209
# Add output to file
210
210
# echo "[$library_type/$language](https://github.com/${{github.repository}}/compare/$old_version_commit_hash..$new_version_commit_hash)" >> "$output_file"
211
-
212
- # Add changes to output file
213
- echo $(git diff HEAD~)
214
-
215
211
git diff HEAD~ >> $output_file
216
212
echo "$output_file"
213
+
214
+ cat "$output_file"
217
215
fi
218
216
}
219
217
@@ -288,7 +286,7 @@ jobs:
288
286
}
289
287
290
288
const parsedArtifacts = fs.readdirSync('./outputs').map(fileName => {
291
- const [type, language] = fileName.split("- ");
289
+ const [type, language] = fileName.split("+ ");
292
290
293
291
const header = Object.entries(replaceTable).reduce((acc, [key, value]) => {
294
292
return acc.replace(new RegExp(key, "g"), value);
You can’t perform that action at this time.
0 commit comments