chore: update batteries in manifest when creating lean-pr-testing-NNNN at Mathlib (#4333)
This commit is contained in:
parent
a54fa7cae6
commit
05ea3ac19f
1 changed files with 2 additions and 1 deletions
3
.github/workflows/pr-release.yml
vendored
3
.github/workflows/pr-release.yml
vendored
|
|
@ -322,7 +322,8 @@ jobs:
|
|||
echo "leanprover/lean4-pr-releases:pr-release-${{ steps.workflow-info.outputs.pullRequestNumber }}" > lean-toolchain
|
||||
git add lean-toolchain
|
||||
sed -i "s/require batteries from git \"https:\/\/github.com\/leanprover-community\/batteries\" @ \".\+\"/require batteries from git \"https:\/\/github.com\/leanprover-community\/batteries\" @ \"nightly-testing-${MOST_RECENT_NIGHTLY}\"/" lakefile.lean
|
||||
git add lakefile.lean
|
||||
lake update batteries
|
||||
git add lakefile.lean lake-manifest.json
|
||||
git commit -m "Update lean-toolchain for testing https://github.com/leanprover/lean4/pull/${{ steps.workflow-info.outputs.pullRequestNumber }}"
|
||||
else
|
||||
echo "Branch already exists, pushing an empty commit."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue