Skip to content

Commit 3bc0f4b

Browse files
ci(shake.yaml): run lake build and post messages to nightly-testing-mathlib (#39306)
Follow-up to #39085. The cache doesn't contain oleans for Archive and Counterexamples so we need to run `lake build`. Also upload the `explain.txt` in case of workflow failure for better diagnostics, and post Zulip messages to the new `nightly-testing-mathlib` stream.
1 parent 2d767d6 commit 3bc0f4b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/shake.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
use-github-cache: false
3636
use-mathlib-cache: true
3737

38+
- name: lake build
39+
run: |
40+
lake build Mathlib Archive Counterexamples
41+
3842
- name: lake shake
3943
id: shake
4044
run: |
@@ -53,7 +57,7 @@ jobs:
5357
5458
- name: Upload explain.txt
5559
id: upload-artifact
56-
if: steps.shake.outputs.changed == 'true'
60+
if: failure() || steps.shake.outputs.changed == 'true'
5761
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5862
with:
5963
name: shake-explain
@@ -123,7 +127,7 @@ jobs:
123127
api-key: ${{ secrets.ZULIP_API_KEY }}
124128
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
125129
organization-url: 'https://leanprover.zulipchat.com'
126-
to: 'nightly-testing'
130+
to: 'nightly-testing-mathlib'
127131
type: 'stream'
128132
topic: 'Mathlib `shake --fix`'
129133
content: |

0 commit comments

Comments
 (0)