Skip to content

Commit

Permalink
checkout with submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
keepingitneil committed Jan 11, 2024
1 parent 65f061b commit 9ebfbd1
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,8 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Generate Egg Info
run: python ${{ inputs.package_dir }}/setup.py egg_info

- name: Find requires.txt
run: |
# Search for requirements.txt file and store its content in an environment variable
REQUIREMENTS_FILE=$(find . -type f -name "requires.txt")
echo "Found requires.txt file at: $REQUIREMENTS_FILE"
if [ -n "$REQUIREMENTS_FILE" ]; then
echo "REQUIREMENTS_FILE=$REQUIREMENTS_FILE" >> $GITHUB_ENV
else
echo "No requiress.txt file found."
fi
with:
submodules: recursive

- name: Install Package to Document
run: python -m pip install ${{ inputs.package_dir }}/
Expand Down

0 comments on commit 9ebfbd1

Please sign in to comment.