Skip to content

Commit

Permalink
fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Sep 5, 2024
1 parent 40a6b47 commit eaba2c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ jobs:
steps:
- name: Check if mock
run: |
echo "${{ github.event.inputs.isMock }}";
if [[ -z "${{ github.event.inputs.isMock }}" ]]; then
echo "This is a scheduled nightly run."
elif [[ ${{ github.event.inputs.isMock }} == true ]]; then
elif [[ "${{ github.event.inputs.isMock }}" == true ]]; then
echo "This is a mock run."
else
echo "This is NOT a mock run. Watch for the generated files!"
Expand Down

0 comments on commit eaba2c7

Please sign in to comment.