Skip to content

Commit

Permalink
Update document_package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlere committed Feb 21, 2024
1 parent 78d4417 commit b77a0dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/document_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Check for changes
id: git_changes
run: |
echo ::set-output name=has_changes::$(if git diff --quiet; then echo "false"; else echo "true"; fi)
run: echo "HAS_CHANGES=$(if git diff --quiet; then echo 'false'; else echo 'true'; fi)" >> $GITHUB_ENV

- name: Document CLI and write to folder
if: steps.git_changes.outputs.has_changes == 'true'
if: env.HAS_CHANGES == 'true'
run: |
make deps-install
poetry run typer postprocessing_variant_calls.main utils docs > docs/CLI.md
Expand Down

0 comments on commit b77a0dc

Please sign in to comment.