From 85002a501465d970b7e0d7232ff210dbcd0417b5 Mon Sep 17 00:00:00 2001 From: PSala Date: Fri, 21 Jul 2023 09:14:39 +0200 Subject: [PATCH] update ci --- .github/workflows/release.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae1f512..a1447db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 2.7 - uses: actions/setup-python@v2 - with: - python-version: '2.7' + - name: Install Python 2 + run: | + sudo apt update + sudo apt install python2 python-pip + sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1 + sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2 + printf '1\n' | sudo update-alternatives --config python + cd /usr/bin + sudo ln -s /usr/bin/pip2 ./pip - name: Get tag id: tag uses: dawidd6/action-get-tag@v1