From fa5004eb7d361d51f5f09525f04e571cf64d3f0a Mon Sep 17 00:00:00 2001 From: Kevin Schaper Date: Tue, 12 Nov 2024 10:13:45 -0800 Subject: [PATCH] use the venv in the workflow --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88cd233..2b28d16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,14 +22,17 @@ jobs: - name: make venv with uv run: | - uv venv - - name: Install dependencies + uv venv + + - name: Activate venv and Install dependencies run: | + source venv/bin/activate uv pip install -r requirements.txt - name: Run Jupyter Notebook run: | - uv jupyter nbconvert --to notebook --execute omim_vs_orphanet_comparison.ipynb --output omim_vs_orphanet_comparison_output.ipynb + source venv/bin/activate + jupyter nbconvert --to notebook --execute omim_vs_orphanet_comparison.ipynb --output omim_vs_orphanet_comparison_output.ipynb - name: Get Date for Release Tag run: echo "DATE=$(date +%Y-%m-%d)" >> $GITHUB_ENV