Skip to content

Commit

Permalink
chore: remove unneeded step (#11563)
Browse files Browse the repository at this point in the history
Once #11543 was merged, we can read the version file directly from the Action instead of manipulating the environment.
  • Loading branch information
miketheman authored Jun 10, 2022
1 parent 9275e7a commit af4f0b6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,10 @@ jobs:
run: |
sudo apt -y update
sudo apt -y install libcurl4-openssl-dev libssl-dev pkg-config
- name: Read .python-version
if: ${{ matrix.needs-python }}
run: |
echo "WAREHOUSE_PYTHON_VERSION=$(<.python-version)" >> $GITHUB_ENV
- uses: actions/setup-python@v4
if: ${{ matrix.needs-python }}
with:
python-version: ${{ env.WAREHOUSE_PYTHON_VERSION }}
python-version-file: '.python-version'
- name: Cache Python dependencies
if: ${{ matrix.needs-python }}
uses: actions/cache@v3
Expand Down

0 comments on commit af4f0b6

Please sign in to comment.