Skip to content

Commit

Permalink
chore: fix test_mathlib.yml (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em authored Sep 27, 2024
1 parent 27c99fb commit 3ad208b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_mathlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

# Checkout the mathlib4 repository with all branches
- name: Checkout mathlib4 repository
if: steps.workflow-info.outputs.pullRequestNumber != '' && steps.ready.outputs.mathlib_ready == 'true'
if: steps.workflow-info.outputs.pullRequestNumber != ''
uses: actions/checkout@v4
with:
repository: leanprover-community/mathlib4
Expand All @@ -43,7 +43,7 @@ jobs:
echo "$HOME/.elan/bin" >> "${GITHUB_PATH}"
- name: Check if tag exists
if: steps.workflow-info.outputs.pullRequestNumber != '' && steps.ready.outputs.mathlib_ready == 'true'
if: steps.workflow-info.outputs.pullRequestNumber != ''
id: check_mathlib_tag
run: |
git config user.name "leanprover-community-mathlib4-bot"
Expand All @@ -70,6 +70,6 @@ jobs:
fi
- name: Push changes
if: steps.workflow-info.outputs.pullRequestNumber != '' && steps.ready.outputs.mathlib_ready == 'true'
if: steps.workflow-info.outputs.pullRequestNumber != ''
run: |
git push origin batteries-pr-testing-${{ steps.workflow-info.outputs.pullRequestNumber }}

0 comments on commit 3ad208b

Please sign in to comment.