Skip to content

Commit

Permalink
Merge pull request #111: docs-ci: Check environment-file and pip-inst…
Browse files Browse the repository at this point in the history
…all-target inputs
  • Loading branch information
victorlin authored Oct 16, 2024
2 parents 5571465 + 937af63 commit 351da09
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docs-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ jobs:
run:
shell: bash -l {0}
steps:
- name: Check inputs
if: (inputs.environment-file == '' && inputs.pip-install-target == '') ||
(inputs.environment-file != '' && inputs.pip-install-target != '')
run: |
cat <<~~
This workflow requires one (and only one) of the following inputs:
- environment-file
- pip-install-target
~~
exit 1
- uses: actions/checkout@v4
with:
repository: ${{ inputs.repo }}
Expand Down

0 comments on commit 351da09

Please sign in to comment.