Skip to content

Commit

Permalink
fix: order of checkout and Python install has to be reversed (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue authored Apr 18, 2024
1 parent cc421b0 commit 87f8993
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,16 @@ runs:

# --------------- Common to linux and windows doc-build ----------------

- name: "Install Git and clone project"
uses: actions/checkout@v4
if: ${{ inputs.checkout == 'true' }}

- name: "Set up Python"
uses: ansys/actions/_setup-python@main
with:
python-version: ${{ inputs.python-version }}
use-cache: ${{ inputs.use-python-cache }}

- name: "Install Git and clone project"
uses: actions/checkout@v4
if: ${{ inputs.checkout == 'true' }}

# ------------------------------------------------------------------------

- name: Documentation build (Linux)
Expand Down

0 comments on commit 87f8993

Please sign in to comment.