From f41c65c464a43e0af7da74126f6367b092b19ec1 Mon Sep 17 00:00:00 2001 From: Luis Montero Date: Tue, 13 Feb 2024 09:39:39 +0100 Subject: [PATCH] fix: replace python release install with setup-python Python install is broken in the release process. Let's change it with setup-python action --- .github/workflows/release.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 23b3c3216..d5dddb806 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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