Skip to content

breakage: minor cleanup #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading