Skip to content

Commit dcc2de0

Browse files
authored
Update Breakage.yml
1 parent fbdeb89 commit dcc2de0

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/Breakage.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
pkg: ${{ github.event.repository.name }}
2929
steps:
30-
- uses: actions/checkout@v5
30+
- uses: actions/checkout@v4
3131
- uses: julia-actions/setup-julia@v2
3232
with:
3333
version: 1
@@ -56,7 +56,7 @@ jobs:
5656
matrix: ${{ fromJSON(needs.setup_matrix.outputs.matrix) }}
5757

5858
steps:
59-
- uses: actions/checkout@v5
59+
- uses: actions/checkout@v4
6060

6161
# Install Julia
6262
- uses: julia-actions/setup-julia@v2
@@ -127,9 +127,9 @@ jobs:
127127
needs: break
128128
runs-on: ubuntu-latest
129129
steps:
130-
- uses: actions/checkout@v5
130+
- uses: actions/checkout@v4
131131

132-
- uses: actions/download-artifact@v5
132+
- uses: actions/download-artifact@v4
133133
with:
134134
path: breakage
135135
pattern: breakage-*
@@ -159,8 +159,14 @@ jobs:
159159
fi
160160
done >> summary.md
161161
162+
- name: Display summary in CI logs
163+
run: |
164+
echo "### Breakage Summary" >> $GITHUB_STEP_SUMMARY
165+
cat breakage/summary.md >> $GITHUB_STEP_SUMMARY
166+
162167
- name: PR comment with file
163-
uses: actions/github-script@v7
168+
if: github.event.pull_request.head.repo.fork == false
169+
uses: actions/github-script@main
164170
with:
165171
github-token: ${{ secrets.GITHUB_TOKEN }}
166172
script: |
@@ -199,3 +205,4 @@ jobs:
199205
body: msg
200206
})
201207
}
208+

0 commit comments

Comments
 (0)