-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(workflows): upgrade action versions and ubuntu in workflows (#11376)
- Loading branch information
Showing
19 changed files
with
177 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ inputs: | |
python-version: | ||
description: "What Python version to use to create the project's virtual environment" | ||
required: false | ||
default: "false" | ||
runs: | ||
using: 'composite' | ||
steps: | ||
|
@@ -16,9 +17,16 @@ runs: | |
sudo apt-get update | ||
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 | ||
- shell: bash | ||
run: | | ||
npm install --global [email protected] | ||
pip install pipenv==2021.5.29 | ||
$OT_PYTHON -m pip install pipenv==2021.5.29 | ||
- shell: bash | ||
run: 'make -C ${{ inputs.project }} setup OT_VIRTUALENV_VERSION=${{ inputs.python-version }}' | ||
run: 'make -C ${{ inputs.project }} setup' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.