Skip to content

Commit

Permalink
Fix workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Shkutnyk committed Jan 26, 2025
1 parent e7759c2 commit 1311f2d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-cookbooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
run: |
poetry install
- name: Check for mypy in pyproject.toml
id: check_mypy
- name: Check for mypy in pyproject.toml
id: check_mypy
run: |
if grep -q 'mypy' pyproject.toml; then
echo "mypy is specified in pyproject.toml, running..."
Expand All @@ -46,14 +46,12 @@ jobs:
else
echo "mypy is not specified in pyproject.toml, exiting."
echo "::set-output name=mypy_run::false"
fi
- name: Build MDX Files
if: steps.check_mypy.outputs.mypy_run == 'true'
shell: bash
run: poetry run python .github/scripts/build_cookbooks.py


- name: Check for Changes in build-mdx Folder
id: check_changes
shell: bash
Expand Down

0 comments on commit 1311f2d

Please sign in to comment.