Skip to content

Commit 1904384

Browse files
committed
breakage: minor cleanup
1 parent d0fd4d3 commit 1904384

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/Breakage.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
run: |
5656
set -v
5757
mkdir -p ./breakage
58-
# echo "${{ github.event.number }}" > ./breakage-$PKG-$VERSION/NR
5958
git clone https://github.com/JuliaSmoothOptimizers/$PKG
6059
cd $PKG
6160
if [ $VERSION == "stable" ]; then
@@ -111,12 +110,11 @@ jobs:
111110
- run: ls -R
112111
- run: |
113112
cd breakage
114-
echo "| Package name | latest | stable |" > ../summary.md
115-
echo "|--|--|--|" >> ../summary.md
113+
echo "| Package name | latest | stable |" > summary.md
114+
echo "|--|--|--|" >> summary.md
116115
count=0
117-
for file in *
116+
for file in breakage-*
118117
do
119-
[ "$file" == "MSG" ] && continue
120118
if [ $count == "0" ]; then
121119
name=$(echo $file | cut -f2 -d-)
122120
echo -n "| $name | "
@@ -131,9 +129,9 @@ jobs:
131129
echo " |"
132130
count=0
133131
fi
134-
done >> ../summary.md
132+
done >> summary.md
135133
136134
- name: PR comment with file
137135
uses: thollander/actions-comment-pull-request@v2
138136
with:
139-
filePath: summary.md
137+
filePath: breakage/summary.md

0 commit comments

Comments
 (0)