Skip to content

Commit

Permalink
fix: replace python release install with setup-python
Browse files Browse the repository at this point in the history
Python install is broken in the release process.
Let's change it with setup-python action
  • Loading branch information
fd0r committed Feb 14, 2024
1 parent 939f7dd commit f41c65c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,19 @@ jobs:
ref: ${{ github.ref }}
token: ${{ secrets.BOT_TOKEN }}

- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
id: setup-python
with:
python-version: 3.8

- name: Install dependencies
run: |
# We need to freeze docker.io because its update requires user input
sudo apt update
sudo apt-mark hold docker.io
./script/make_utils/setup_os_deps.sh --linux-install-python
./script/make_utils/setup_os_deps.sh
make setup_env
- name: Check version coherence and apidocs
Expand Down

0 comments on commit f41c65c

Please sign in to comment.