diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1171ff0..4ea5e76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,14 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Python 2.7 - uses: actions/setup-python@v2 - with: - python-version: '2.7' + 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