Skip to content

Commit

Permalink
breakage: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo committed Oct 12, 2024
1 parent d0fd4d3 commit 1904384
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/Breakage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ jobs:
run: |
set -v
mkdir -p ./breakage
# echo "${{ github.event.number }}" > ./breakage-$PKG-$VERSION/NR
git clone https://github.com/JuliaSmoothOptimizers/$PKG
cd $PKG
if [ $VERSION == "stable" ]; then
Expand Down Expand Up @@ -111,12 +110,11 @@ jobs:
- run: ls -R
- run: |
cd breakage
echo "| Package name | latest | stable |" > ../summary.md
echo "|--|--|--|" >> ../summary.md
echo "| Package name | latest | stable |" > summary.md
echo "|--|--|--|" >> summary.md
count=0
for file in *
for file in breakage-*
do
[ "$file" == "MSG" ] && continue
if [ $count == "0" ]; then
name=$(echo $file | cut -f2 -d-)
echo -n "| $name | "
Expand All @@ -131,9 +129,9 @@ jobs:
echo " |"
count=0
fi
done >> ../summary.md
done >> summary.md
- name: PR comment with file
uses: thollander/actions-comment-pull-request@v2
with:
filePath: summary.md
filePath: breakage/summary.md

0 comments on commit 1904384

Please sign in to comment.