Skip to content

Commit

Permalink
split this out
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Feb 16, 2024
1 parent 7cbf681 commit b913e6b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/actions/python/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ runs:
sudo apt-get install -y --no-install-recommends libsystemd-dev
fi
- name: Set the OT_PYTHON env variable
shell: bash
run: echo "OT_PYTHON=$(which python)" >> $GITHUB_ENV
- name: If provided set the OT_VIRTUALENV_VERSION env variable
shell : bash
if: ${{ inputs.python-version != 'false' }}
run: echo "OT_VIRTUALENV_VERSION=${{ inputs.python-version }}" >> $GITHUB_ENV
- run: |
npm install --global [email protected]
$OT_PYTHON -m pip install --upgrade pip
$OT_PYTHON -m pip install --user pipenv==2023.12.1
- run: 'make -C ${{ inputs.project }} setup'
- shell: bash
run: npm install --global [email protected]
- shell: bash
run: $OT_PYTHON -m pip install --upgrade pip
- shell: bash
run: $OT_PYTHON -m pip install --user pipenv==2023.12.1
- shell: bash
run: 'make -C ${{ inputs.project }} setup'

0 comments on commit b913e6b

Please sign in to comment.