Skip to content

Commit

Permalink
Update generate-requirements.yml
Browse files Browse the repository at this point in the history
Add checkout of package and installation of python to workflow
  • Loading branch information
rettigl authored Sep 14, 2023
1 parent d717904 commit 9b8cae0
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/generate-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ jobs:
generate-requirements:
runs-on: ubuntu-latest
steps:
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Export requirements.txt
run: poetry export --without-hashes --format=requirements.txt -o docs/requirements.txt -E docs -E notebook
- uses: actions/checkout@v3
with:
lfs: true
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Export requirements.txt
run: poetry export --without-hashes --format=requirements.txt -o docs/requirements.txt -E docs -E notebook

0 comments on commit 9b8cae0

Please sign in to comment.